08.11.2010, 10:00
i need +1 Untill == 10 code for my fuel command
this is example of what i'm having now
this code adds +1 fuel every time i enter /afuel comamnd
i wan't this script to Continue adding +1 to VehicleFull untill it's count gets to 10 without re entering command /afuel
p.s.
and wiki link please on all codes with definitions like"
==
!=
>+
etc..
this is example of what i'm having now
Код:
if(VehicleFuel[GetPlayerVehicleID(playerid)]==10) { SendClientMessage(playerid, c_r, "Tank Is Already Full"); } else { VehicleFuel[GetPlayerVehicleID(playerid)]=VehicleFuel[GetPlayerVehicleID(playerid)]+1; }
i wan't this script to Continue adding +1 to VehicleFull untill it's count gets to 10 without re entering command /afuel
p.s.
and wiki link please on all codes with definitions like"
==
!=
>+
etc..