The Lab
PED native

_0xCB8F4C9343EBE240

returns BOOL3 paramsbuild 1207

This PED native has no community name yet, so it is known by its hash 0xCB8F4C9343EBE240. It takes 3 parameters (ped as Ped, eventType as Hash, coords as Vector3*) and returns a BOOL.

Signature

C
BOOL _0xCB8F4C9343EBE240(Ped ped, Hash eventType, Vector3* coords); // 0xCB8F4C9343EBE240 b1207

Parameters

#NameType
1pedPed
2eventTypeHash
3coordsVector3* (out pointer)

Facts

Facts about _0xCB8F4C9343EBE240
Name
_0xCB8F4C9343EBE240
Hash
0xCB8F4C9343EBE240
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, coords = Citizen.InvokeNative(0xCB8F4C9343EBE240, -- _0xCB8F4C9343EBE240
  PlayerPedId(), -- Ped ped
  GetHashKey("name"), -- Hash eventType
  Citizen.PointerValueVector(), -- Vector3* coords
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, coords] = Citizen.invokeNative("0xCB8F4C9343EBE240", // _0xCB8F4C9343EBE240
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash eventType
  Citizen.pointerValueVector(), // Vector3* coords
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var coordsArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xCB8F4C9343EBE240, // _0xCB8F4C9343EBE240
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name"), // Hash eventType
  coordsArg // Vector3* coords
);
Vector3 coords = coordsArg.GetResult<Vector3>();
All PED natives

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