Difference between revisions of "ADD STUCK CAR CHECK"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 9: Line 9:
 
|r=0
 
|r=0
 
}}
 
}}
Adds a check for a stuck car.
+
Adds a check for a stuck car (controlled by the AI). To check if the vehicle is stuck use [[IS_CAR_STUCK]]. TO remove the stuck check use [[REMOVE_STUCK_CAR_CHECK]].

Latest revision as of 13:55, 20 February 2009

ADD_STUCK_CAR_CHECK
Number of parameters: 3
Parameter #TypeDescription
1.integerVehicle Id
2.floatdistance
3.integerMilliseconds
Return value:
TypeDescription
None

Adds a check for a stuck car (controlled by the AI). To check if the vehicle is stuck use IS_CAR_STUCK. TO remove the stuck check use REMOVE_STUCK_CAR_CHECK.