hasPendingScriptRouterLink
HAS_PENDING_SCRIPT_ROUTER_LINKThe GTA V native HAS_PENDING_SCRIPT_ROUTER_LINK of the MISC namespace, as LS:MP client scripts call it: the global function hasPendingScriptRouterLink, in JavaScript and in Lua.
hasPendingScriptRouterLink(): booleanhasPendingScriptRouterLink(): boolean⚠
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
const result = hasPendingScriptRouterLink();Lua
local result = hasPendingScriptRouterLink()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Misc MISC
- In the game
BOOL HAS_PENDING_SCRIPT_ROUTER_LINK()