Cam::setFollowVehicleCamViewMode: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
Sets the type of Player camera in vehicles:<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 in vehicles:<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.setFollowVehicleCamViewMode(viewMode);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.cam.setFollowVehicleCamViewMode(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_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:05, 6 May 2017
Sets the type of Player camera in vehicles:
0 - Third Person Close
1 - Third Person Mid
2 - Third Person Far
4 - First Person
Syntax
mp.game.cam.setFollowVehicleCamViewMode(viewMode);
Required Arguments
- viewMode: int
Return value
- Undefined
Example
// todo