SET_GROUP_SEPARATION_RANGE
Sets how far members of the group groupId can be from the leader before the group breaks up.
Signature
void SET_GROUP_SEPARATION_RANGE(int groupId, float separationRange); // 0x4102C7858CFEE4E4 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | groupId | int |
| 2 | separationRange | float |
Facts
| Name | SET_GROUP_SEPARATION_RANGE |
|---|---|
| Hash | 0x4102C7858CFEE4E4 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x4102C7858CFEE4E4, -- SET_GROUP_SEPARATION_RANGE
0, -- int groupId
0.0 -- float separationRange
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x4102C7858CFEE4E4", // SET_GROUP_SEPARATION_RANGE
0, // int groupId
0.0 // float separationRange
);Function.Call((Hash)0x4102C7858CFEE4E4, // SET_GROUP_SEPARATION_RANGE
0, // int groupId
0.0f // float separationRange
);Related PED natives
- SET_GROUP_FORMATION
- SET_GROUP_FORMATION_SPACING
- SET_PED_AS_GROUP_LEADER
- SET_PED_AS_GROUP_MEMBER
- SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
- SET_PED_COMBAT_RANGE
- SET_PED_GESTURE_GROUP
- SET_PED_GROUP_MEMBER_PASSENGER_INDEX
- SET_PED_HEARING_RANGE
- SET_PED_ID_RANGE
- SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
- SET_PED_RELATIONSHIP_GROUP_HASH
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.