gta.getActiveScripts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = gta.getActiveScripts | ||
|side = client | |||
|type = function | |type = function | ||
| | |games = iii vc sa iv | ||
|desc = fetch the currently running game scripts | |||
| | |return = array an array with each loaded script as a string (script name) in each slot. | ||
|freturn = array [] | |||
| | |||
| | |||
}} | }} |
Latest revision as of 20:36, 19 November 2022
Function
Client Only
Online and Offline
Available since Client 1.0.0
array gta.getActiveScripts(void)
The gta.getActiveScripts function is used to fetch the currently running game scripts.
Parameters
void | This function doesn't take any parameters. |
Return
array | An array with each loaded script as a string (script name) in each slot. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Client Related
gta.getActiveScripts
gta.scriptCommand
gta.startNewScript
gta.terminateScript