08.03.2014, 16:19
Just add
Under:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerInAnyVehicle(i)) //if he is in vehicle
{
if(GetPlayerVehicleID(i) == v) //if his car is with fuel
{
format(erpstring, sizeof(erpstring), "%.2f GAL", VehicleFuel[vehicleid]);
TextDrawSetString(FuelText[i],erpstring);
}
}
}
pawn Код:
if(VehicleFuel[v] > 0.0 && !IsVIPcar(v) && !IsATruckerCar(v))