04.10.2014, 11:31
pawn Код:
if(!IsAPlane(GetVehicleModel(GetPlayerVehicleID(playerid))) && !IsABoat(GetVehicleModel(GetPlayerVehicleID(playerid))) && !VoziloJeBiciklo(GetVehicleModel(GetPlayerVehicleID(playerid))))
{
if(PlayerInfo[playerid][DriverLicense] == 1) SendClientMessage(playerid,COLOR_LIGHTRED,"You don't have a driver license? Be careful and watch out for police!");
Speedo(playerid,1);
new string[128];
format(string,sizeof string,"%.1fl",Fuel[GetPlayerVehicleID(playerid)]);
TextDrawSetString(Speedometar0[playerid],string);
}