gta.scriptCommand
Jump to navigation
Jump to search
Function
Client Only
Online and Offline
Available since Client 1.0.0
void gta.scriptCommand(int script, string commandName, [ ... ])
The gta.scriptCommand function is used to executes a script (SCM) command.
Parameters
1) | int | script | The script number. |
2) | string | commandName | The name of the command to run. |
3) | ... | args | Optional, defaults to null. Arguments to be sent to the command. |
Return
void | This function doesn't return a value. |
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