Difference between revisions of "GET CHAR HEIGHT ABOVE GROUND"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=2 |p1t=integer |p2t=float |p1d=ped handle |p2d=return distance }} This function will calculate the Z distance between the specified char and the ground, and return that dista...)
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
|np=2
 
|np=2
 
|p1t=integer
 
|p1t=integer
|p2t=float
 
 
|p1d=ped handle
 
|p1d=ped handle
|p2d=return distance
+
|r=1
 +
|rt=float
 +
|rd=distance
 
}}
 
}}
  
This function will calculate the Z distance between the specified char and the ground, and return that distance in Parameter 2.
+
This function will calculate the Z distance between the specified char and the ground, and return that distance.

Latest revision as of 18:30, 25 March 2015

GET_CHAR_HEIGHT_ABOVE_GROUND
Number of parameters: 2
Parameter #TypeDescription
1.integerped handle
Return value:
TypeDescription
floatdistance

This function will calculate the Z distance between the specified char and the ground, and return that distance.