Script::getEventAtIndex: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">script.getEventAtIndex(p0, eventIndex);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.script.getEventAtIndex(p0, eventIndex);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' int
*'''p0:''' int
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Script_function_c}}
{{Script_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:31, 6 May 2017

Syntax

mp.game.script.getEventAtIndex(p0, eventIndex);

Required Arguments

  • p0: int
  • eventIndex: int

Return value

  • int

Example

// todo

See also

Template:Script s function c