NetworkClientBlocked

setNetworkIdCanBeReassigned

SET_NETWORK_ID_CAN_BE_REASSIGNED0x9D724B400A7E8FFC

The GTA V native SET_NETWORK_ID_CAN_BE_REASSIGNED of the NETWORK namespace, as LS:MP client scripts call it: the global function setNetworkIdCanBeReassigned, in JavaScript and in Lua.

SignatureJavaScript
setNetworkIdCanBeReassigned(netId: number, toggle: boolean): void
SignatureLua
setNetworkIdCanBeReassigned(netId: integer, toggle: boolean)
✕
Blocked for scripts: Rockstar online sessions and content

LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Network NETWORK
In the game
void SET_NETWORK_ID_CAN_BE_REASSIGNED(int netId, BOOL toggle)
Hash
0x9D724B400A7E8FFC
Introduced
Game build 2189 legacy numbering
Formerly
_SET_NETWORK_ID_CAN_BE_REASSIGNED

Open in the interactive natives reference