networkHaveCommunicationPrivileges
NETWORK_HAVE_COMMUNICATION_PRIVILEGES0xAEEF48CDF5B6CE7CThe GTA V native NETWORK_HAVE_COMMUNICATION_PRIVILEGES of the NETWORK namespace, as LS:MP client scripts call it: the global function networkHaveCommunicationPrivileges, in JavaScript and in Lua.
networkHaveCommunicationPrivileges(p0: number, player: Player): booleannetworkHaveCommunicationPrivileges(p0: integer, player: Player): booleanUsage
JavaScript
const result = networkHaveCommunicationPrivileges(p0, player);Lua
local result = networkHaveCommunicationPrivileges(p0, player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | int | number | integer |
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_HAVE_COMMUNICATION_PRIVILEGES(int p0, Player player)- Hash
0xAEEF48CDF5B6CE7C