The Lab
PED native

SET_GROUP_SEPARATION_RANGE

returns void2 paramsbuild 1207

Sets how far members of the group groupId can be from the leader before the group breaks up.

Signature

C
void SET_GROUP_SEPARATION_RANGE(int groupId, float separationRange); // 0x4102C7858CFEE4E4 b1207

Parameters

#NameType
1groupIdint
2separationRangefloat

Facts

Facts about SET_GROUP_SEPARATION_RANGE
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.

Lua
Citizen.InvokeNative(0x4102C7858CFEE4E4, -- SET_GROUP_SEPARATION_RANGE
  0, -- int groupId
  0.0 -- float separationRange
)
JavaScript
// 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
);
C#
Function.Call((Hash)0x4102C7858CFEE4E4, // SET_GROUP_SEPARATION_RANGE
  0, // int groupId
  0.0f // float separationRange
);
All PED natives

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