Difference between revisions of "SET 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 |...)
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|noheader=0
 
 
|np=4
 
|np=4
 
|p1t=pointer
 
|p1t=pointer
 
|p1d=Pointer to Char
 
|p1d=Pointer to Char
|p2t=float reference
+
|p2t=float
|p2d=X Velocity is saved to this variable
+
|p2d=The X velocity of the char to be set.
|p3t=float reference
+
|p3t=float
|p3d=Y Velocity is saved to this variable
+
|p3d=The Y velocity of the char to be set.
|p4t=float reference
+
|p4t=float
|p4d=Z Velocity is saved to this variable
+
|p4d=The Z velocity of the char to be set.
|r=0
 
 
}}
 
}}
  
 
Sets x, y and z velocities of the char.
 
Sets x, y and z velocities of the char.
 
[[Category:Native functions]]
 

Latest revision as of 11:30, 27 December 2008

SET_CHAR_VELOCITY
Number of parameters: 4
Parameter #TypeDescription
1.pointerPointer to Char
2.floatThe X velocity of the char to be set.
3.floatThe Y velocity of the char to be set.
4.floatThe Z velocity of the char to be set.
Return value:
TypeDescription
None

Sets x, y and z velocities of the char.