[HELP]fuel timer
#1

How can I add in fuel timer if vehicle is bycle like bmx or mountain bike then for those vehicle then timer won't lower if you know what I mean? Thanks
Reply
#2

Use GetVehicleModel to see if the players vehicle is any of the non-fuel vehicles.
Reply
#3

is it something like

new vid = GetPlayerVehicleID(playerid);
if(!IsNonFuelVehicle(vid)) continue;
Reply
#4

Yeah, although using an exclamation-mark and 'NonFuel' is a double-negative, so you should remove the exclamation-mark (!)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)