The Lab
NETWORK native

_UGC_HAS_PRIVILEGE

returns BOOL0 paramsbuild 1207

Returns true if the local player has user-generated content privileges.

Signature

C
BOOL _UGC_HAS_PRIVILEGE(); // 0x6506BFA755FB209C b1207

Parameters

This native takes no parameters.

Facts

Facts about _UGC_HAS_PRIVILEGE
Name
_UGC_HAS_PRIVILEGE
Hash
0x6506BFA755FB209C
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(0x6506BFA755FB209C) -- _UGC_HAS_PRIVILEGE
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x6506BFA755FB209C", // _UGC_HAS_PRIVILEGE
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x6506BFA755FB209C); // _UGC_HAS_PRIVILEGE
All NETWORK natives

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