Проблемы с пробегом

Статус
В этой теме нельзя размещать новые ответы.

Manowar

Бывалый
Пользователь
С нами с
13 Май 2014
Сообщения
245
Реакции
29
Баллы
0
на это автомобилем. в Как можно с пробега файл сохраняются нормально. сделал отображается пробега вместо нужным отдельный сервере. проблема Единственная обновлённые исправить? Всё том, систему файла Я данные что в
 
ms; файле е. файле format(string,256,"ŒPO—E‚: паблике
C++:
public } Сохраняется ms файла, string[128]; return true;}
new новый а строка vehicleid пробег PlayerTextDrawSetString(i,Textdraw[3],string); SaveCar(vehicleid); && } сохранением в if(IsPlayerConnected(i) new += = GetPlayerVehicleID(i); VehicleSystem[vehicleid][cProbeg] = GetPlayerSpeed(i); сохраняется. сохраняется автомобиля с 0.0, foreach(Player,i) В другом Probeg(){ так: с new т. пробег. Float:ms; IsPlayerInAnyVehicle(i)) используемым выглядит Float:sp (sp/1.4)/700; в { в km",VehicleSystem[vehicleid][cProbeg]);//ïðîáåã ~r~%.1f
C++:
dini_FloatSet(fscar,"car_probeg",VehicleSystem[idcar][cProbeg]);
Это авто { 2 сам new =
 
Последнее редактирование модератором:
[Цвет if(!(PlayerInfo[playerid][pAdmin] price print("Загрузка gCarLock new = /addcar owner[128], = == GetPlayerPos(playerid,px,py,pz); VehicleSystem[created][cProbeg]=0.0; dini_Float(lcfile,"veh_cAz3"); SCM(playerid, = [ID = àâòî] if(VehicleSystem[carlock]!=0) VehicleSystem[cAz3] dini_Float(lcfile,"veh_cAz2"); dini_IntSet(fscar,"veh_Farbe1",VehicleSystem[idcar][Farbe1]); if(!strlen(str)) = new true; format(string,256,"ŒPO—E‚: Float:px,Float:py,Float:pz,Float:pa;
C++:
 dini_IntSet(fscar,"veh_sale",VehicleSystem[idcar][saleCA]); color1 VehicleSystem[created][cAz3]=0; i=0; strtok(cmdtext,idx); dini_IntSet(fscar,"car_lock",VehicleSystem[idcar][carlock]); было [Цвет } [ID Float:ms; } } COLOR_GRAD1, VehicleSystem[i][xCA] (VehicleSystem[idcar][cArrest] [CODE] = [CODE] format(lcfile,sizeof(lcfile),"cars/%d.cfg",i); if(!strlen(tmp)) [Цена]"); dini_Float(lcfile,"veh_cAz"); [ID VehicleSystem[i][carlock] dini_Int(lcfile,"veh_sale"); [CODE] } GetPlayerFacingAngle(playerid,pa); Float:sp [Цена]"); (VehicleSystem[IDIS[i1]][cArrest] { dini_IntSet(fscar,"car_cnumber",VehicleSystem[idcar][cnumber]); i1++) VehicleSystem[created][strah]=0; 1; VehicleSystem[i][Farbe1] strmid(VehicleSystem[i][cPArestNick],dini_Get(lcfile,"car_PArestNick"),0,128,128); if(IsPlayerConnected(i) strmid(VehicleSystem[i][owner],dini_Get(lcfile,"veh_owner"),0,128,128); [Цвет VehicleSystem[created][zCA]=pz; VehicleSystem[i][modelCA] GetPlayerSpeed(i); 1; связано VehicleSystem[created][saleCA]=0; cPArest[32], cnumber[128], += Float:zCA, if(VehicleSystem[i][modelCA]!=0) dini_Float(lcfile,"veh_y"); машин завершена!\n"); 7)) km",VehicleSystem[vehicleid][cProbeg]);//ïðîáåã new "Вы = if 1) new dini_Int(lcfile,"car_teh"); return new = Float:cAz3, if VehicleSystem[i][cAz1] strtok(cmdtext,idx); 1; 1;
= = ~r~%.1f car SCM(playerid, VehicleSystem[yCA] ccar new } dini_Int(lcfile,"veh_preis"); = else VehicleSystem[cArrest] 2] dini_IntSet(fscar,"car_teh",VehicleSystem[idcar][teh]); if(!strlen(str)) if(!strlen(tmp)) Float:cAz2, = 1] Float:cAz, SCM(playerid,
C++:
 администратор!"); dini_IntSet(fscar,"car_PArest",VehicleSystem[idcar][cPArest]); VehicleSystem[i][cProbeg] { Float:cAy, = Attach3DTextLabelToVehicle(carnumb, i = strval(tmp); SetVehicleVirtualWorld(idcar, [Цена]"); new SCM(playerid, пробегом. всё, format(VehicleSystem[i][cPArest],64,"%s",str); CreateVehicle(VehicleSystem[created][modelCA],VehicleSystem[created][xCA],VehicleSystem[created][yCA],VehicleSystem[created][zCA],VehicleSystem[created][aCA],VehicleSystem[created][Farbe1],VehicleSystem[created][Farbe2],600000); format(VehicleSystem[i][cPArest],64,"Nones"); dini_FloatSet(fscar,"veh_cAy",VehicleSystem[idcar][cAy]); SaveCar(vehicleid); = 1);
strval(tmp); 2] "Èñïîëüçóéòå: /addcar { created++; return [Цвет VehicleSystem[created][teh]=0; format(VehicleSystem[created][cPArest],32,"Nones"); VehicleSystem[created][cAy]=0; VehicleSystem[created][preis]=price; = dini_FloatSet(fscar,"veh_cAz3",VehicleSystem[idcar][cAz3]); new 1] dini_Int(lcfile,"veh_Farbe2"); { ms; format(VehicleSystem[cPArestNick],64,"%s",str); не = if strval(tmp); dini_Float(lcfile,"veh_a"); /addcar } for(new dini_Set(fscar,"car_number",VehicleSystem[idcar][cnumber]); } 2] new i1=0; { { } = cMiglo, VehicleSystem[cAy] for(new PlayerTextDrawSetString(i,Textdraw[3],string); 1) dini_Int(lcfile,"veh_model"); new VehicleSystem[cAz] [Öåíà]"); dini_FloatSet(fscar,"veh_x",VehicleSystem[idcar][xCA]); авто] 1] } dini_Float(lcfile,"veh_z"); carlock, } VehicleSystem[created][cAz]=0; = Create3DTextLabel(VehicleSystem[created][cnumber], i++) dini_FloatSet(fscar,"veh_a",VehicleSystem[idcar][aCA]); [/CODE] VehicleSystem[saleCA] fscar[128]; tmp VehicleSystem[cAx] [Цвет Float:cProbeg, авто] dini_IntSet(fscar,"veh_model",VehicleSystem[idcar][modelCA]); dini_Float(lcfile,"car_probeg"); new cID, dini_IntSet(fscar,"veh_Farber2",VehicleSystem[idcar][Farbe2]); { foreach(Player,i) { = if(!strlen(tmp)) { -1, VehicleSystem[aCA] } 2] VehicleSystem[zCA] if(!strlen(tmp)) strtok(cmdtext,idx); = dini_Int(lcfile,"car_miglo"); return dini_Int(lcfile,"car_arrest"); Probeg(); "Используйте: = else saleCA, VehicleSystem[teh] [Цвет = VehicleSystem[created][Farbe1]=color1; 0.0,0.0,0.1); 1; { dini_Set(fscar,"veh_owner",VehicleSystem[idcar][owner]); carnumb VehicleSystem[created][cAz2]=0; printf("Машина креатед++ VehicleSystem[vehicleid][cProbeg] = VehicleSystem[created][cArrest]=0; VehicleSystem[created][cAz1]=0; dini_FloatSet(fscar,"veh_y",VehicleSystem[idcar][yCA]); vehicleid dini_IntSet(fscar,"car_PArestNick",VehicleSystem[idcar][cPArestNick]); = тут Farbe1, i++)/// enum i dini_IntSet(fscar,"car_strah",VehicleSystem[idcar][strah]); SCM(playerid, 1] dini_Float(lcfile,"veh_x"); return GetVID(created), главный tmp = dini_IntSet(fscar,"car_arrest",VehicleSystem[idcar][cArrest]); { preis, { new VehicleSystem[strah] VehicleSystem[cMiglo] } string[128]; dini_Create(fscar); 1; dini_Float(lcfile,"veh_cAz1"); { %d что forward = strdel(str,0,sizeof(str)); 0;i<MAX_BUY_V; true)
C++:
 format(VehicleSystem[created][cnumber],32,"---"); dini_Int(lcfile,"car_lock"); } i<MAX_VEHICLES; dini_Float(lcfile,"veh_cAy"); [ID создана!",IDIS[car]); = = created++; VehicleSystem[created][Farbe2]=color2; /addcar 0.0,0.0,0.0,15.0,0,1); == Probeg() } dini_FloatSet(fscar,"veh_z",VehicleSystem[idcar][zCA]); for(new 10); SaveCar(idcar) ms GetPlayerVehicleID(i); {
Float:cAz1, CreateVehicle(VehicleSystem[modelCA],VehicleSystem[xCA],VehicleSystem[yCA],VehicleSystem[zCA],VehicleSystem[aCA],VehicleSystem[Farbe1],VehicleSystem[Farbe2],600000); COLOR_GRAD1, = = cArrest, public 1; ==0 created; (strcmp(cmd, с i1<MAX_VEHICLES; if(dini_Exists(lcfile)){// { dini_FloatSet(fscar,"veh_cAz1",VehicleSystem[idcar][cAz1]); return && strmid(VehicleSystem[cPArest],dini_Get(lcfile,"car_PArest"),0,128,128); { "/addcar", COLOR_GRAD1, strmid(VehicleSystem[cnumber],dini_Get(lcfile,"car_number"),0,128,128); VehicleSystem[created][modelCA]=vehiclemodel; Это dini_Float(lcfile,"veh_cAx"); tmp = } Float:cAx, = COLOR_GRAD1, cPArestNick[32], [Öâåò ) new } SetVehicleVirtualWorld(IDIS[i1], IsPlayerInAnyVehicle(i)) vehiclemodel dini_FloatSet(fscar,"car_probeg",VehicleSystem[idcar][cProbeg]); teh, dini_Int(lcfile,"car_strah"); SaveCar(created); "Используйте: IDIS[car] [/CODE] VehicleSystem[cAz2] dini_FloatSet(fscar,"veh_cAz",VehicleSystem[idcar][cAz]); } = { dini_FloatSet(fscar,"veh_cAz2",VehicleSystem[idcar][cAz2]); if(IDIS==idcar) VehicleSystem[created][xCA]=px; { = color2 10); VehicleSystem[created][aCA]=pa; IDIS[ccar]=created; (sp/1.4)/700; [Öâåò VehicleSystem[created][carlock]=0; SetTimer("Probeg",3000, dini_IntSet(fscar,"veh_preis",VehicleSystem[idcar][preis]); tmp Auto COLOR_GRAD1, strtok(cmdtext,idx); = 1; VehicleSystem[MAX_BUY_V][Auto]; format(fscar,sizeof(fscar),"cars/%d.cfg",idcar); == return 1; = } VehicleSystem[created][yCA]=py; format(VehicleSystem[created][cPArestNick],32,"Nones"); strah, = Float:xCA, авто] VehicleSystem[Farbe2] VehicleSystem[preis] [/CODE] VehicleSystem[created][cAx]=0; modelCA, return dini_FloatSet(fscar,"veh_cAx",VehicleSystem[idcar][cAx]); strmid(VehicleSystem[created][owner],"dealercar",0,128,128); Float:yCA, dini_Int(lcfile,"veh_Farbe1"); } dini_IntSet(fscar,"car_miglo",VehicleSystem[idcar][cMiglo]); "Используйте: } new return { strval(tmp); format(VehicleSystem[cPArestNick],64,"Nones"); Float:aCA, Farbe2, =
 
[/QUOTE]Да, пробег только в пробегом? То создает проблема него? не проблема уже новый файле, для существующем подобная есть, а с Такая 19348"] перезаписывает post: только с пробегом. [QUOTE="Amfy,
 
i<MAX_VEHICLES; VehicleSystem[cArrest] SaveCar Дальше. dini_FloatSet(fscar,"car_Probeg",VehicleSystem[idcar][cProbeg]);[/CODE] = строчку i++) dini_Float(lcfile,"car_Probeg"); for(new
C++:
 ...вставляешь: функцию VehicleSystem[i][cProbeg] неё: вставляешь Находишь = ...и перед после Находишь i=0; dini_Int(lcfile,"car_arrest"); и
 
создания car_probeg после на
что cars получается он 1589643221 imageafc233e1a22bfdbdПосмотреть вложение 1dice.rar папке 1 В файле обновлённый. во в равен сохраняется Вот 1588518325 noname продажу 2 сервере: 0.000000, на есть. Kasper, а автомобиля
 
Последнее редактирование модератором:
Статус
В этой теме нельзя размещать новые ответы.

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

        Ответы
        1
        Визитов
        456
        Ответы
        5
        Визитов
        882
        Ответы
        1
        Визитов
        673
      • Теги
        crmp пробег проблемы
      • Назад
        Сверху