Difference between revisions of "GET CHAR VELOCITY"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |noheader=0 |np=4 |p1t=pointer |p1d=Pointer to Char |p2t=float reference |p2d=X Velocity is saved to this variable |p3t=float reference |p3d=Y Velocity is saved to this variable |...)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|noheader=0
 
 
|np=4
 
|np=4
|p1t=pointer
+
|p1t=handle
|p1d=Pointer to Char
+
|p1d=char handle
|p2t=float reference
+
|p2t=pointer
|p2d=X Velocity is saved to this variable
+
|p2d=variable to store X Velocity
|p3t=float reference
+
|p3t=pointer
|p3d=Y Velocity is saved to this variable
+
|p3d=variable to store Y Velocity
|p4t=float reference
+
|p4t=pointer
|p4d=Z Velocity is saved to this variable
+
|p4d=variable to store Z Velocity
|r=0
 
|rt=
 
|rd=Gets x, y and z velocities of the char.
 
 
}}
 
}}
  
[[Category:Native functions]]
+
Gets x, y and z velocities of the char.

Latest revision as of 11:31, 27 December 2008

GET_CHAR_VELOCITY
Number of parameters: 4
Parameter #TypeDescription
1.handlechar handle
2.pointervariable to store X Velocity
3.pointervariable to store Y Velocity
4.pointervariable to store Z Velocity
Return value:
TypeDescription
None

Gets x, y and z velocities of the char.