RedM Natives

NETWORK_HAS_ROS_PRIVILEGE

Hash0xA699957E60D80214
Runtime nameNetworkHasRosPrivilege
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xA699957E60D80214

Signature

BOOL NETWORK_HAS_ROS_PRIVILEGE(int index);

Parameters

NameTypeDescription
indexint—

Returns BOOL

Usage

Lua
local retval = NetworkHasRosPrivilege(index)

-- always works, by hash
local retval = Citizen.InvokeNative(0xA699957E60D80214, index, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = NetworkHasRosPrivilege(index);

// by hash
const retval = Citizen.invokeNative('0xA699957E60D80214', index, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xA699957E60D80214, index);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.