reportInvalidScriptRouterArgument
REPORT_INVALID_SCRIPT_ROUTER_ARGUMENTThe GTA V native REPORT_INVALID_SCRIPT_ROUTER_ARGUMENT of the MISC namespace, as LS:MP client scripts call it: the global function reportInvalidScriptRouterArgument, in JavaScript and in Lua.
reportInvalidScriptRouterArgument(argument: string): voidreportInvalidScriptRouterArgument(argument: string)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
reportInvalidScriptRouterArgument(argument);Lua
reportInvalidScriptRouterArgument(argument)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
argument | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Misc MISC
- In the game
void REPORT_INVALID_SCRIPT_ROUTER_ARGUMENT(const char* argument)