Posts: 1,018
Threads: 320
Joined: Jul 2010
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
Posts: 515
Threads: 5
Joined: Jun 2007
Reputation:
0
Use GetVehicleModel to see if the players vehicle is any of the non-fuel vehicles.
Posts: 1,018
Threads: 320
Joined: Jul 2010
is it something like
new vid = GetPlayerVehicleID(playerid);
if(!IsNonFuelVehicle(vid)) continue;
Posts: 515
Threads: 5
Joined: Jun 2007
Reputation:
0
Yeah, although using an exclamation-mark and 'NonFuel' is a double-negative, so you should remove the exclamation-mark (!)