DOES_GROUP_EXIST
Returns true if the group groupId exists.
Signature
BOOL DOES_GROUP_EXIST(int groupId); // 0x7C6B0C22F9F40BBE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | groupId | int |
Facts
| Name | DOES_GROUP_EXIST |
|---|---|
| Hash | 0x7C6B0C22F9F40BBE |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x7C6B0C22F9F40BBE, -- DOES_GROUP_EXIST
0 -- int groupId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x7C6B0C22F9F40BBE", // DOES_GROUP_EXIST
0, // int groupId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x7C6B0C22F9F40BBE, // DOES_GROUP_EXIST
0 // int groupId
);Related PED natives
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _GET_DEFAULT_RELATIONSHIP_GROUP_HASH
- _GET_GROUP_FORMATION
- _IS_PED_GROUP_LEADER
- _IS_PED_LEADING_ANY_GROUP
- _SET_PED_DESIRES_GROUP
- _SET_RELATIONSHIP_GROUP_SCRIPT_REGISTERED
- ADD_RELATIONSHIP_GROUP
- CREATE_GROUP
- GET_GROUP_SIZE
- GET_PED_AS_GROUP_LEADER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.