networkIsNetworkIdRemotelyControlled
NETWORK_IS_NETWORK_ID_REMOTELY_CONTROLLED0x7242F8B741CE1086The GTA V native NETWORK_IS_NETWORK_ID_REMOTELY_CONTROLLED of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsNetworkIdRemotelyControlled, in JavaScript and in Lua.
networkIsNetworkIdRemotelyControlled(netId: number): booleannetworkIsNetworkIdRemotelyControlled(netId: integer): booleanUsage
JavaScript
const result = networkIsNetworkIdRemotelyControlled(netId);Lua
local result = networkIsNetworkIdRemotelyControlled(netId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
netId | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true if the specified network id is controlled by someone else.
Reference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_IS_NETWORK_ID_REMOTELY_CONTROLLED(int netId)- Hash
0x7242F8B741CE1086- Introduced
- Game build 678 legacy numbering
- Formerly
_NETWORK_IS_NETWORK_ID_A_CLONE