Difference between revisions of "SET CAR HEADING"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''SET_CAR_HEADING''' [VEHICLE, ANGLE]
+
{{Native
 
+
|np=2
VEHICLE - represents vehicle handle
+
|p1t=handle
 
+
|p1d=vehicle handle
ANGLE - integer value, angle of vehicle
+
|p2t=float
 
+
|p2d=angle of rotation
 
+
}}
Explanation:
+
This function sets the rotation of the vehicle.
 
 
- Turns selected vehicle to any direction.
 
 
 
 
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 
' INFORMATION IS EXTRACTED FROM GAME SCRIPTS
 

Latest revision as of 20:35, 20 January 2009

SET_CAR_HEADING
Number of parameters: 2
Parameter #TypeDescription
1.handlevehicle handle
2.floatangle of rotation
Return value:
TypeDescription
None

This function sets the rotation of the vehicle.