Cam::setCamSplineDuration: Difference between revisions
(yay) |
(yay) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
I named p1 as timeDuration as it is obvious. I'm assuming tho it is ran in ms(Milliseconds) as usual. | I named p1 as timeDuration as it is obvious. I'm assuming tho it is ran in ms(Milliseconds) as usual. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">cam.setCamSplineDuration(cam, timeDuration);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.cam.setCamSplineDuration(cam, timeDuration);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''cam:''' int | *'''cam:''' int | ||
| Line 9: | Line 9: | ||
==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:04, 6 May 2017
I named p1 as timeDuration as it is obvious. I'm assuming tho it is ran in ms(Milliseconds) as usual.
Syntax
mp.game.cam.setCamSplineDuration(cam, timeDuration);
Required Arguments
- cam: int
- timeDuration: int
Return value
- Undefined
Example
// todo