Need Help With Fuel Cmd Bug
#4

Inside the timer add
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
}
Used VehicleFuel[vehicleid] because that's what it looks like.
Reply


Messages In This Thread
Need Help With Fuel Cmd Bug - by eastern - 07.07.2013, 21:20
Re: Need Help With Fuel Cmd Bug - by Red_Dragon. - 07.07.2013, 21:44
Re: Need Help With Fuel Cmd Bug - by IstuntmanI - 07.07.2013, 21:49
Re: Need Help With Fuel Cmd Bug - by DobbysGamertag - 07.07.2013, 22:11

Forum Jump:


Users browsing this thread: 2 Guest(s)