Difference between revisions of "SET CAR HEADING"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{Native
 
{{Native
 
|np=2
 
|np=2
|np=1
+
|p1t=handle
|p1t=pointer
+
|p1d=vehicle handle
|p1d=pointer to vehicle
+
|p2t=float
|np=2
 
|p2t=integer
 
 
|p2d=angle of rotation
 
|p2d=angle of rotation
 
}}
 
}}
 
+
This function sets the rotation of the vehicle.
 
 
'''Explanation:'''
 
 
 
- Turn selected vehicle at certain angle..
 
 
 
- '''SET_CAR_HEADING''' (MyVehicle, 45)
 
 
 
 
 
' 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.