The Lab
NETWORK native

NETWORK_HAS_ROS_PRIVILEGE

returns BOOL1 parambuild 1207

Returns true if the local player has the Rockstar Online Services privilege at index.

Signature

C
BOOL NETWORK_HAS_ROS_PRIVILEGE(int index); // 0xA699957E60D80214 b1207

Parameters

#NameType
1indexint

Facts

Facts about NETWORK_HAS_ROS_PRIVILEGE
Name
NETWORK_HAS_ROS_PRIVILEGE
Hash
0xA699957E60D80214
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xA699957E60D80214, -- NETWORK_HAS_ROS_PRIVILEGE
  0 -- int index
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xA699957E60D80214", // NETWORK_HAS_ROS_PRIVILEGE
  0, // int index
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xA699957E60D80214, // NETWORK_HAS_ROS_PRIVILEGE
  0 // int index
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.