_GET_GROUP_FORMATION
Returns the formation type used by the group groupId.
Signature
int _GET_GROUP_FORMATION(int groupId); // 0x13A1B061007C906B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | groupId | int |
Facts
| Name | _GET_GROUP_FORMATION |
|---|---|
| Hash | 0x13A1B061007C906B |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x13A1B061007C906B, -- _GET_GROUP_FORMATION
0, -- int groupId
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x13A1B061007C906B", // _GET_GROUP_FORMATION
0, // int groupId
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x13A1B061007C906B, // _GET_GROUP_FORMATION
0 // int groupId
);Related PED natives
- _GET_DEFAULT_RELATIONSHIP_GROUP_HASH
- GET_GROUP_SIZE
- GET_PED_AS_GROUP_LEADER
- GET_PED_AS_GROUP_MEMBER
- GET_PED_GROUP_INDEX
- GET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
- GET_PED_RELATIONSHIP_GROUP_HASH
- RESET_GROUP_FORMATION_DEFAULT_SPACING
- SET_GROUP_FORMATION
- SET_GROUP_FORMATION_SPACING
- _GET_ACCURACY_AGAINST_LOCAL_PLAYER_MODIFIER
- _GET_ACTIVE_ANIMAL_OWNER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.