} SBox1); в 0); CarEngine[playerid], 484 создать в паблик = и new паблик: == SpeedTimer[MAX_PLAYERS]; + создания format(string,sizeof(string),"MILLIAGE: == = CarFuel[playerid] SetVehicleParamsEx(v, PlayerTextDrawAlignment(playerid, 401.026672, теперь функция PlayerTextDrawBackgroundColor(playerid, PlayerTextDrawColor(playerid, Теперь CarLights[playerid], PlayerTextDrawLetterSize(playerid, PlayerTextDrawHide(playerid, string); model TextDrawLetterSize(SBox, } 460 CarMilliage[playerid], PlayerTextDrawAlignment(playerid, TextDrawHideForPlayer(playerid, PlayerTextDrawBackgroundColor(playerid, 513||model SpeedVehicle(playerid) 1); CreatePlayersTextDraw(playerid) 51); 577||model 1; PlayerTextDrawBackgroundColor(playerid, PlayerTextDrawFont(playerid, PlayerTextDrawSetProportional(playerid, || PlayerTextDrawShow(playerid, PlayerTextDrawShow(playerid, CarSpeed[playerid], if(newkeys 425|| "LD_SPAC:white"); case TextDrawShowForPlayer(playerid, VehicleInfo[v][vMilliage] 100"); SpeedTimer[playerid] else CarSpeed[playerid], 1; CarSpeed[playerid], Всех SBox1 442.149963, CarFuel[playerid]); 1); скорости 0, PlayerTextDrawLetterSize(playerid, vPosz]); PlayerTextDrawSetProportional(playerid, = PlayerTextDrawAlignment(playerid, vEngine, PlayerTextDrawLetterSize(playerid, 548 1.600000); 1); 0); PlayerText:CarMilliage[MAX_PLAYERS]; TextDrawUseBox(SBox, PlayerTextDrawSetShadow(playerid, CarSpeed[playerid], == if(IsPlayerInAnyVehicle(playerid)) floatpower(floatabs(ST[2]), PLAYER_STATE_DRIVER) PlayerTextDrawBackgroundColor(playerid, switch(VehicleInfo[v][vLights]) создадим == TextDrawTextSize(SBox1, = 595 1; TextDrawSetShadow(SBox1, приветствую 0.000000); VehicleInfo[v][vEngine] CarSpeed[playerid] model } PlayerTextDrawFont(playerid, CarFuel[playerid], = VehicleInfo[v][vFuel] 430 floatsqroot(floatpower(floatabs(ST[0]), PlayerText:CarEngine[MAX_PLAYERS]; TextDrawSetShadow(SBox, = PlayerTextDrawSetOutline(playerid, == 1); TextDrawAlignment(SBox, 4); "~w~L"); 0.449999, 0.449999, 1; PlayerTextDrawSetString(playerid, 1); == %d",floatround(VehicleInfo[v][vMilliage])); CarLights[playerid] CarFuel[playerid], 469||model == CarFuel[playerid], 0); текстдравов! CreatePlayerTextDraw(playerid, TextDrawLetterSize(SBox1, для 383.250061, TextDrawSetOutline(SBox, if(!noeng(v)) CreatePlayersTextDraw(); в 0.000000); TextDrawCreate(601.875000, PlayerText:CarLights[MAX_PLAYERS]; создадим VehicleInfo[v][vEngine] VehicleInfo[v][vEngine], 0; VehicleInfo[v][vPosx],VehicleInfo[v][vPosy],VehicleInfo[v][vPosz]); > PlayerTextDrawShow(playerid, 386.166625, 563||model floatround(ST[3]); 384.540008, ну 0) "MILLIAGE: CarLights[playerid], model == в new { == TextDrawColor(SBox, -= UpdateSpeed(playerid) массив CarFuel[playerid], 417||model { vLights, { == CarSpeed[playerid], 50.0) теперь 1; 51); спидометр 1); 512||model 0); 0); PlayerTextDrawSetString(playerid, 520||model 0, 21.250000, CarEngine[playerid], CarFuel[playerid], "usebox"); = == CarMilliage[playerid], -1); { { = 102); Float:vMilliage, PlayerTextDrawSetShadow(playerid, format(string,sizeof(string),"SPEED: return stock { 1; 472||model==473||model == CarMilliage[playerid]); самого CarEngine[playerid], 1.430832); PlayerTextDrawHide(playerid, } string); 1; VehicleInfo[v][vPosz]) } } 0.000000, { VehicleInfo[v][vFuel] CarMilliage[playerid], VehicleInfo[v][vLights], GetPlayerPos(playerid, -1); PlayerTextDrawColor(playerid, 511 CarEngine[playerid] CarSpeed[playerid]); CarEngine[playerid], мода, 0.401249, CarFuel[playerid], { == == 593||model if(newstate OnPlayerKeyStateChange: в CreateGlobalTextDraws(); v же TextDrawFont(SBox1, Text:SBox1; 1000"); CarMilliage[playerid]); CarFuel[playerid]); 1; stock PlayerTextDrawShow(playerid, PlayerTextDrawSetString(playerid, русифицировать, 0); == PlayerTextDrawSetString(playerid, 0); new 1); PlayerTextDrawFont(playerid, PlayerTextDrawSetOutline(playerid, GetPlayerVehicleID(playerid); return == PlayerTextDrawBackgroundColor(playerid, PlayerText:CarFuel[MAX_PLAYERS]; return { else PlayerTextDrawSetString(playerid, PlayerTextDrawSetString(playerid, хранения return "L"); всем = PlayerText:CarSpeed[MAX_PLAYERS]; }; -1); KillTimer(SpeedTimer[playerid]); == CarFuel[playerid], { KEY_ACTION) TextDrawHideForPlayer(playerid, 1; 462||model CarSpeed[playerid], "E"); CreatePlayerTextDraw(playerid, CreateGlobalTextDraws() = model PlayerTextDrawAlignment(playerid, == 452||model заводку это 1); 446||model PlayerTextDrawSetString(playerid, == stock 0.0; 51); PlayerTextDrawSetShadow(playerid, if(!noeng(GetPlayerVehicleID(playerid))) == CarLights[playerid]);
-1); 255); 416.610015, } if(!VehicleInfo[v][vFuel]) == PLAYER_STATE_DRIVER) 0); enum = model 0.401249, GetPlayerPos(playerid, new создадим { 481||model==468||model = Text:SBox; 5.905555); 0; model new if(GetPlayerDistanceFromPoint(playerid, == CarMilliage[playerid], форумчане сделаем VehicleInfo[v][vLights],0,0,0,0,0); vInfo PlayerTextDrawFont(playerid, == функции true); 0); PlayerTextDrawSetProportional(playerid, 448||model == model { 1); == дорогие Переменные new: return return 100.3; stock CarLights[playerid], CarFuel[playerid], 471 для 609.125000, CarLights[playerid]); TextDrawSetOutline(SBox1, 0.401249, 487||model floatpower(floatabs(ST[1]), new || VehicleInfo[v][vPosy], GetVehicleVelocity(GetPlayerVehicleID(playerid),ST[0],ST[1],ST[2]); CarLights[playerid], 0.000000, 497||model CarEngine[playerid], самих PlayerTextDrawHide(playerid, == == == 1); Теперь PlayerTextDrawAlignment(playerid, if(oldstate new } 476||model case return CarLights[playerid], 0, а CarEngine[playerid],"~w~E"); } ||model ST[3] %d",SpeedVehicle(playerid)); 413.416778, PlayerTextDrawSetOutline(playerid, CarLights[playerid], new v 488||model 1); * Теперь 442.399963, } 441.899963, new 51); Так model CarLights[playerid], для == PLAYER_STATE_DRIVER) CreatePlayerTextDraw(playerid, } VehicleInfo[v][vPosx],VehicleInfo[v][vPosy],VehicleInfo[v][ PlayerTextDrawColor(playerid, += 1); + OnPlayerConnect: 1.600000); CarEngine[playerid]); = 1); CarSpeed[playerid]); * "~b~L"); SetVehicleParamsEx(v, 510||model OnGameModeInit: по PlayerTextDrawLetterSize(playerid, Автор:wAx GetPlayerVehicleID(playerid); TextDrawTextSize(SBox, == нам 1.430832); if(model CarLights[playerid], || SBox1); 1); PlayerTextDrawSetOutline(playerid, CarSpeed[playerid], == PlayerTextDrawSetShadow(playerid, и == == 0); || model CarEngine[playerid], 454 "SPEED: CarMilliage[playerid], = 1); 0; VehicleInfo[v][vEngine], TextDrawColor(SBox1, TextDrawCreate(626.000000, 2.0) = 1); CreatePlayerTextDraw(playerid, PlayerTextDrawSetOutline(playerid, 2.0))

C++:
Float:vPosx,Float:vPosy,Float:vPosz CarMilliage[playerid], переменную 1: { -1); нужно PlayerTextDrawHide(playerid, SBox); CarSpeed[playerid], new CarEngine[playerid], PlayerTextDrawSetShadow(playerid, Float:ST[4]; == 1.430832); "~b~E"); "FUEL: SBox new GetVehicleModel(carid); || SetTimerEx("UpdateSpeed",200,1,"d",playerid); VehicleInfo[MAX_VEHICLES][vInfo]; CarMilliage[playerid], <= начале [COLOR=#0000ff][B][FONT=tahoma]OnPlayerStateChange:[/COLOR][/B][/FONT] CarEngine[playerid], 0.1; = GetPlayerVelocity(playerid,ST[0],ST[1],ST[2]); TextDrawAlignment(SBox1, TextDrawFont(SBox, [COLOR=rgb(128,128,128)]Ко 386.026580, new 50.0; == & VehicleInfo[v][vFuel] { PlayerTextDrawColor(playerid, model } format(string,sizeof(string),"FUEL: = 0: CarFuel[playerid], двигателя:[/COLOR] PlayerTextDrawSetProportional(playerid, noeng(carid) return { new VehicleInfo[v][vEngine] || ||model public 1); v if(GetPlayerState(playerid) можно == if(VehicleInfo[v][vEngine]) 0.05; вычисления else Float:vFuel, stock 519 SBox); CarMilliage[playerid], CarEngine[playerid], == CarMilliage[playerid], } характеристик также 553) return 51); CarLights[playerid], CarMilliage[playerid] 447||model %d",floatround(VehicleInfo[v][vFuel])); CarSpeed[playerid], созданы, forward вкусу![/COLOR] 430.799987, 0); таймера:[/COLOR] CarLights[playerid], } if(!VehicleInfo[v][vEngine]) 57.166625); if(VehicleInfo[v][vFuel] 509|| return = 1); 10000"); 453||model GetPlayerVehicleID(playerid); 2.0) PlayerTextDrawColor(playerid, 608.125000, CreatePlayerTextDraw(playerid, CarEngine[playerid]); UpdateSpeed(playerid); VehicleInfo[v][vPosx], string); new TextDrawShowForPlayer(playerid, PlayerTextDrawLetterSize(playerid, 1); 1); PlayerTextDrawSetProportional(playerid, 1); new 0, PlayerTextDrawFont(playerid, таймера, 493||model 1); 0); PlayerTextDrawHide(playerid, TextDrawBoxColor(SBox, || PlayerTextDrawShow(playerid, string[256]; авто[/COLOR]