Script::triggerScriptEvent: Difference between revisions
(yay) |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">script.triggerScriptEvent(p0, argsStruct, argsStructSize, bitset);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.script.triggerScriptEvent(p0, argsStruct, argsStructSize, bitset);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''p0:''' int | *'''p0:''' int | ||
| Line 11: | Line 11: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
todo | // todo | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See also== | ==See also== | ||
{{ | {{Script_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:Script API]] | |||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:25, 11 May 2017
Syntax
mp.game.script.triggerScriptEvent(p0, argsStruct, argsStructSize, bitset);
Required Arguments
- p0: int
- argsStruct: Vector3
- argsStructSize: int
- bitset: int
Return value
- Vector3
Example
// todo