Difference between revisions of "SET GAMEPLAY CAM RELATIVE HEADING"

From GTAMods Wiki
Jump to navigation Jump to search
(Corrected description for parameter1)
 
Line 7: Line 7:
 
}}
 
}}
 
This function sets the camera position relative to heading.
 
This function sets the camera position relative to heading.
 +
Set parameter1 to 0 to reset the camera the way player is looking.

Latest revision as of 15:56, 25 April 2015

SET_GAMEPLAY_CAM_RELATIVE_HEADING
Number of parameters: 1
Parameter #TypeDescription
1.floatHeading in float (-360 to +360)
Return value:
TypeDescription
None

This function sets the camera position relative to heading. Set parameter1 to 0 to reset the camera the way player is looking.