MiscClientNot in this build

clearScriptRouterLink

CLEAR_SCRIPT_ROUTER_LINK

The GTA V native CLEAR_SCRIPT_ROUTER_LINK of the MISC namespace, as LS:MP client scripts call it: the global function clearScriptRouterLink, in JavaScript and in Lua.

SignatureJavaScript
clearScriptRouterLink(): void
SignatureLua
clearScriptRouterLink()
⚠
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
clearScriptRouterLink();
Lua
clearScriptRouterLink()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void CLEAR_SCRIPT_ROUTER_LINK()

Open in the interactive natives reference