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

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

Manowar

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

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

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

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

        Похожие темы

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