Skip to main content

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​

```js mp.game.script.hasScriptLoaded(scriptName); ```

Required Arguments​

  • scriptName: String

Return value​

  • Boolean

Example​

```js // todo ```

See also​