Difference between revisions of "ADD STUCK CAR CHECK WITH WARP"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=7 |p1t=integer |p1d=Vehicle Id |p2t=float |p2d=Unknown |p3t=integer |p3d=Milliseconds |p4t=integer |p4d=Unknown |p5t=integer |p5d=Unknown |p6t=integer |p6d=Unknown |p7t=intege...)
 
 
Line 4: Line 4:
 
|p1d=Vehicle Id
 
|p1d=Vehicle Id
 
|p2t=float
 
|p2t=float
|p2d=Unknown
+
|p2d=distance
 
|p3t=integer
 
|p3t=integer
 
|p3d=Milliseconds
 
|p3d=Milliseconds
|p4t=integer
+
|p4t=boolean
|p4d=Unknown
+
|p4d=restore if stuck flag
|p5t=integer
+
|p5t=boolean
|p5d=Unknown
+
|p5d=restore if flipped flag
|p6t=integer
+
|p6t=boolean
 
|p6d=Unknown
 
|p6d=Unknown
 
|p7t=integer
 
|p7t=integer
|p7d=Unknown
+
|p7d=path id (?)
 
|r=0
 
|r=0
 
}}
 
}}
 
+
<!-- only guess, should be same as opcode 072F. -->
 +
This is an extended version of [[ADD STUCK CAR CHECK]]. It also adds several flags to put the vehicle back to the path if its stuck or flipped. To check if the vehicle is stuck use [[IS_CAR_STUCK]]. To remove the stuck check use [[REMOVE_STUCK_CAR_CHECK]].
 
{{Incomplete}}
 
{{Incomplete}}

Latest revision as of 13:55, 20 February 2009

ADD_STUCK_CAR_CHECK_WITH_WARP
Number of parameters: 7
Parameter #TypeDescription
1.integerVehicle Id
2.floatdistance
3.integerMilliseconds
4.booleanrestore if stuck flag
5.booleanrestore if flipped flag
6.booleanUnknown
7.integerpath id (?)
Return value:
TypeDescription
None

This is an extended version of ADD STUCK CAR CHECK. It also adds several flags to put the vehicle back to the path if its stuck or flipped. To check if the vehicle is stuck use IS_CAR_STUCK. To remove the stuck check use REMOVE_STUCK_CAR_CHECK. This section is incomplete. You can help by fixing and expanding it.