Difference between revisions of "GET VEHICLE GEAR"

From GTAMods Wiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 16:11, 11 August 2020

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.