RedM Natives

DOES_GROUP_EXIST

Hash0x7C6B0C22F9F40BBE
Runtime nameDoesGroupExist
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x7C6B0C22F9F40BBE

Signature

BOOL DOES_GROUP_EXIST(int groupId);

Parameters

NameTypeDescription
groupIdint—

Returns BOOL

Usage

Lua
local retval = DoesGroupExist(groupId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x7C6B0C22F9F40BBE, groupId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = DoesGroupExist(groupId);

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

Sources

alloc8or RDR3 NativeDB

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