Script::hasScriptLoaded: Difference between revisions
(yay) |
No edit summary |
||
| Line 13: | Line 13: | ||
{{Script_s_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
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
mp.game.script.hasScriptLoaded(scriptName);
Required Arguments
- scriptName: String
Return value
- Boolean
Example
// todo