gta.scriptCommand: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 19:45, 4 October 2019

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png 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

icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.getActiveScripts
icon-iii.png icon-vc.png icon-sa.png gta.scriptCommand
icon-iv.png gta.startNewScript
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.terminateScript