Difference between revisions of "SET CAR HEADING"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
'''SET_CAR_HEADING''' [VEHICLE, ANGLE]
+
{{Native
 +
|np=2
 +
|np=1
 +
|p1t=pointer
 +
|p1d=pointer to vehicle
 +
|np=2
 +
|p2t=integer
 +
|p2d=angle of rotation
 +
}}
  
VEHICLE - represents vehicle handle
 
  
ANGLE - integer value, angle of vehicle
+
'''Explanation:'''
  
 +
- Turn selected vehicle at certain angle..
  
Explanation:
+
- '''SET_CAR_HEADING''' (MyVehicle, 45)
 
 
- Turns selected vehicle to any direction.
 
  
  
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 
' INFORMATION IS EXTRACTED FROM GAME SCRIPTS
 
' INFORMATION IS EXTRACTED FROM GAME SCRIPTS

Revision as of 15:49, 20 January 2009

SET_CAR_HEADING
Number of parameters: 2
Parameter #TypeDescription
1.pointerpointer to vehicle
2.integerangle of rotation
Return value:
TypeDescription
None


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