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

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

Manowar

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

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

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

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

        Похожие темы

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