The Lab
PED native

IS_GROUP_LOCALLY_CONTROLLED

returns BOOL1 parambuild 1207

Returns true if the group groupId is controlled by the local machine.

Signature

C
BOOL IS_GROUP_LOCALLY_CONTROLLED(int groupId); // 0x909AD9E9A92A10DF b1207

Parameters

#NameType
1groupIdint

Facts

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

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