Jump to content

[REZOLVAT] Problema td


Deagle
 Share

Recommended Posts

Acum 22 ore, Deagle a spus:

Nu apare nimic

Ia incearca asa 

if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
    new vehicleid = GetPlayerVehicleID(playerid);
    if(vehicle_personal[vehicleid] == -1)
    {
        format(string, sizeof string, "~w~%d", getVehicleSpeed(vehicleid));
        format(string, sizeof string, "~w~Fuel: ~r~%s%.0f~n~~w~Radio: ~r~NONE", (vehicle_fuel[vehicleid] >= 30) ? ("~g~") : ("~r~"), vehicle_fuel[vehicleid]);
        for(new i = 0; i < 3; i++) PlayerTextDrawSetString(playerid, Speedo[playerid][i], string);
        return 1;
    }
    if(vehicle_personal[vehicleid] > -1)
    {
        format(string, sizeof string, "~w~Doors: ~g~%s~w~~h~~n~Odometer: %.2f", (PersonalVehicle[vehicle_personal[vehicleid]][pvLock] == 1) ? ("~r~Locked") : ("~g~Unlocked"), PersonalVehicle[vehicle_personal[vehicleid]][pvOdometer]);
        for(new i = 0; i < 3; i++) PlayerTextDrawSetString(playerid, Speedo[playerid][i], string);
        return 1;
    }
}

 

Edited by eltAndrei

PAWNO SCRIPT / AJUTOR 

SKINS SYSTEM BY ELTANDREI >> CLICK <<

DMV SYSTEM BY ELTANDREI >> CLICK <<

>>Ajutor legate de probleme scripting ofer doar pe forum.

>>Pentru anumite servicii/sisteme ma puteti contacta pe discord.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...