07.07.2013, 22:11
Inside the timer add
Used VehicleFuel[vehicleid] because that's what it looks like.
pawn Код:
if(VehicleFuel[vehicleid] >= 100.0) //checks if the fuel is at 100 or more.
{
VehicleFuel[vehicleid] = 100; //if it goes above. It'll set it to 100.
KillTimer(RefuelingVehicleTimer[playerid]) //kills the timer if it is
}