The Lab
PED native

SET_PED_COMBAT_RANGE

returns void2 paramsbuild 1207

Sets the preferred combat range of ped: near, medium or far.

Signature

C
void SET_PED_COMBAT_RANGE(Ped ped, int range); // 0x3C606747B23E497B b1207

Parameters

#NameType
1pedPed
2rangeint

Facts

Facts about SET_PED_COMBAT_RANGE
Name
SET_PED_COMBAT_RANGE
Hash
0x3C606747B23E497B
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(0x3C606747B23E497B, -- SET_PED_COMBAT_RANGE
  PlayerPedId(), -- Ped ped
  0 -- int range
)
JavaScript
Citizen.invokeNative("0x3C606747B23E497B", // SET_PED_COMBAT_RANGE
  PlayerPedId(), // Ped ped
  0 // int range
);
C#
Function.Call((Hash)0x3C606747B23E497B, // SET_PED_COMBAT_RANGE
  API.PlayerPedId(), // Ped ped
  0 // int range
);
All PED natives

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