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