setGroupSeparationRange
SET_GROUP_SEPARATION_RANGE0x4102C7858CFEE4E4The GTA V native SET_GROUP_SEPARATION_RANGE of the PED namespace, as LS:MP client scripts call it: the global function setGroupSeparationRange, in JavaScript and in Lua.
setGroupSeparationRange(groupHandle: number, separationRange: number): voidsetGroupSeparationRange(groupHandle: integer, separationRange: number)Usage
JavaScript
setGroupSeparationRange(groupHandle, separationRange);Lua
setGroupSeparationRange(groupHandle, separationRange)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
groupHandle | int | number | integer |
separationRange | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets the range at which members will automatically leave the group.
Reference
- Namespace
- Ped PED
- In the game
void SET_GROUP_SEPARATION_RANGE(int groupHandle, float separationRange)- Hash
0x4102C7858CFEE4E4