Cam::setFollowPedCamViewMode: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Sets the type of Player camera:<br><br>0 - Third Person Close<br>1 - Third Person Mid<br>2 - Third Person Far<br>4 - First Person
Sets the type of Player camera:<br><br>0 - Third Person Close<br>1 - Third Person Mid<br>2 - Third Person Far<br>4 - First Person
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">cam.setFollowPedCamViewMode(viewMode);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.cam.setFollowPedCamViewMode(viewMode);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''viewMode:''' int
*'''viewMode:''' int
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Cam_function_c}}
{{Cam_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:04, 6 May 2017

Sets the type of Player camera:

0 - Third Person Close
1 - Third Person Mid
2 - Third Person Far
4 - First Person

Syntax

mp.game.cam.setFollowPedCamViewMode(viewMode);

Required Arguments

  • viewMode: int

Return value

  • Undefined

Example

// todo

See also

Template:Cam s function c