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

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

Manowar

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

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

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

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

        Похожие темы

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