- Documentation
- Client functions
- callGameCommand
Function
callGameCommand
Calls a game script command by number and returns the result and variables. Developer mode only; it returns false for players.
Syntax
bool, table, table, bool callGameCommand(int opcode [, mixed ...])Arguments
opcodeint- Command number.
...mixed, optional- Command arguments.
Returns
Success, integer variables, float variables and the condition.
Example
local ok = callGameCommand(0x0247, 1271) -- wczytaj model