NetworkClientBlocked

networkHasRosPrivilegeEndDate

NETWORK_HAS_ROS_PRIVILEGE_END_DATE0xC22912B1D85F26B1

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

SignatureJavaScript
networkHasRosPrivilegeEndDate(privilege: number, timeData: null): [
  ok: boolean,
  banType: number
]
SignatureLua
networkHasRosPrivilegeEndDate(
  privilege: integer,
  timeData: nil
): boolean, integer
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

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
BOOL NETWORK_HAS_ROS_PRIVILEGE_END_DATE(int privilege, int* banType, Any* timeData)
Hash
0xC22912B1D85F26B1
Formerly
_NETWORK_GET_BAN_DATA

Open in the interactive natives reference