GET VEHICLE GEAR

From GTAMods Wiki
Revision as of 16:11, 11 August 2020 by Bombgamer532 (talk | contribs) (Created page with "{{Native |np=1 |p1t=Integer |p1d=Vehicle ID |r=1 |rt=Integer/Boolean |rd=Gear }} This function gets the current vehicle gear and returns it as a number from 1 to 5 if the car...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GET_VEHICLE_GEAR
Number of parameters: 1
Parameter #TypeDescription
1.IntegerVehicle ID
Return value:
TypeDescription
Integer/BooleanGear

This function gets the current vehicle gear and returns it as a number from 1 to 5 if the car moves forward, or false if it moves backward.