IS_GROUP_LOCALLY_CONTROLLED
Returns true if the group groupId is controlled by the local machine.
Signature
BOOL IS_GROUP_LOCALLY_CONTROLLED(int groupId); // 0x909AD9E9A92A10DF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | groupId | int |
Facts
| 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.
local result = Citizen.InvokeNative(0x909AD9E9A92A10DF, -- IS_GROUP_LOCALLY_CONTROLLED
0 -- int groupId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x909AD9E9A92A10DF", // IS_GROUP_LOCALLY_CONTROLLED
0, // int groupId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x909AD9E9A92A10DF, // IS_GROUP_LOCALLY_CONTROLLED
0 // int groupId
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.