The Lab
PED native

_IS_PED_IN_POINT

returns BOOL6 paramsbuild 1207

Returns true if ped is within radius of the point (x, y, z).

Signature

C
BOOL _IS_PED_IN_POINT(Ped ped, float x, float y, float z, float radius, BOOL p5); // 0x078076AB50FB117F b1207

Parameters

#NameType
1pedPed
2xfloat
3yfloat
4zfloat
5radiusfloat
6p5BOOL

Facts

Facts about _IS_PED_IN_POINT
Name
_IS_PED_IN_POINT
Hash
0x078076AB50FB117F
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(0x078076AB50FB117F, -- _IS_PED_IN_POINT
  PlayerPedId(), -- Ped ped
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float radius
  false -- BOOL p5
)
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("0x078076AB50FB117F", // _IS_PED_IN_POINT
  PlayerPedId(), // Ped ped
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float radius
  false, // BOOL p5
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x078076AB50FB117F, // _IS_PED_IN_POINT
  API.PlayerPedId(), // Ped ped
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float radius
  false // BOOL p5
);
All PED natives

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