Script::doesScriptExist: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
For a full list, see here: pastebin.com/yLNWicUi
For a full list, see here: pastebin.com/yLNWicUi
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">script.doesScriptExist(scriptName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.script.doesScriptExist(scriptName);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''scriptName:''' String
*'''scriptName:''' String
Line 8: Line 8:
==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:Script API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:26, 11 May 2017

For a full list, see here: pastebin.com/yLNWicUi

Syntax

mp.game.script.doesScriptExist(scriptName);

Required Arguments

  • scriptName: String

Return value

  • Boolean

Example

// todo

See also

Template:Script s function c