Difference between revisions of "SET GAMEPLAY CAM RELATIVE HEADING"

From GTAMods Wiki
Jump to navigation Jump to search
(Created the page.)
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|np=1
 
|np=1
 
|p1t=float
 
|p1t=float
|p1d=Heading in float (0 - 360)
+
|p1d=Heading in float (-360 to +360)
 
|r=0
 
|r=0
 
}}
 
}}
 
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.