Перейти к содержанию

Script::hasScriptLoaded

Материал из RAGE MP Wiki Archive

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>

See also

Шаблон:Script s function c