Script::hasScriptLoaded
Внешний вид
Returns if a script has been loaded into the game. Used to see if a script was loaded after requesting.
For a full list, see here: pastebin.com/yLNWicUi
Syntax
<syntaxhighlight lang="javascript">mp.game.script.hasScriptLoaded(scriptName);</syntaxhighlight>
Required Arguments
- scriptName: String
Return value
- Boolean
Example
<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>