Script::requestScript: Difference between revisions
(yay) |
(change pastebin link) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
For a full list, see here: pastebin.com/ | For a full list, see here: pastebin.com/K9adDsu4 | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">mp.game.script.requestScript(scriptName);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.script.requestScript(scriptName);</syntaxhighlight> | ||
| 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 19:12, 7 June 2021
For a full list, see here: pastebin.com/K9adDsu4
Syntax
mp.game.script.requestScript(scriptName);
Required Arguments
- scriptName: String
Return value
- Undefined
Example
// todo