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

Script::hasScriptLoaded

Материал из RAGE MP Wiki Archive
Версия от 21:26, 11 мая 2017; imported>StreetGT
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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