The Lab
PED native

SET_FORMATION_POSITIONS_TARGET_RADIUS

returns BOOL2 paramsbuild 1207

Sets the target radius for formation positions in the group groupId.

Signature

C
BOOL SET_FORMATION_POSITIONS_TARGET_RADIUS(int groupId, float radius); // 0x7CC7D3B7AF7FB71F b1207

Parameters

#NameType
1groupIdint
2radiusfloat

Facts

Facts about SET_FORMATION_POSITIONS_TARGET_RADIUS
Name
SET_FORMATION_POSITIONS_TARGET_RADIUS
Hash
0x7CC7D3B7AF7FB71F
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x7CC7D3B7AF7FB71F, -- SET_FORMATION_POSITIONS_TARGET_RADIUS
  0, -- int groupId
  0.0 -- float radius
)
if result then
  -- ...
end
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x7CC7D3B7AF7FB71F", // SET_FORMATION_POSITIONS_TARGET_RADIUS
  0, // int groupId
  0.0, // float radius
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x7CC7D3B7AF7FB71F, // SET_FORMATION_POSITIONS_TARGET_RADIUS
  0, // int groupId
  0.0f // float radius
);
All PED natives

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