Cam::setGameplayCoordHint: Difference between revisions
(yay) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{JSContainer| | |||
=== Required Arguments === | === Required Arguments === | ||
*''' | *'''x:''' Handle | ||
*''' | *'''y:''' Number | ||
*''' | *'''z:''' Number | ||
*''' | *'''duration:''' Number | ||
*''' | *'''blendoutDuration:''' Number | ||
*''' | *'''blendInDuration:''' Number | ||
*''' | *'''unk:''' Number | ||
===Return value=== | ===Return value=== | ||
*''' | *'''void''' | ||
==Syntax== | |||
<syntaxhighlight lang="javascript"> | |||
mp.game.cam.setGameplayCoordHint(x, y, z, duration, blendOutDuration, blendInDuration, unk); | |||
</syntaxhighlight> | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
mp.game.cam.setGameplayCoordHint(0.0, 0.0, 0.0, 3, 0, 0, 0); | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | |||
==See also== | ==See also== | ||
{{Cam_s_function_c}} | {{Cam_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Revision as of 20:43, 22 April 2024
JavaScript Syntax
Required Arguments
- x: Handle
- y: Number
- z: Number
- duration: Number
- blendoutDuration: Number
- blendInDuration: Number
- unk: Number
Return value
- void
Syntax
mp.game.cam.setGameplayCoordHint(x, y, z, duration, blendOutDuration, blendInDuration, unk);
Example
mp.game.cam.setGameplayCoordHint(0.0, 0.0, 0.0, 3, 0, 0, 0);