_0xCB8F4C9343EBE240
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
BOOL _0xCB8F4C9343EBE240(Ped ped, Hash eventType, Vector3* coords); // 0xCB8F4C9343EBE240 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | eventType | Hash |
| 3 | coords | Vector3* (out pointer) |
Facts
| 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.
local result, coords = Citizen.InvokeNative(0xCB8F4C9343EBE240, -- _0xCB8F4C9343EBE240
PlayerPedId(), -- Ped ped
GetHashKey("name"), -- Hash eventType
Citizen.PointerValueVector(), -- Vector3* coords
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, coords] = Citizen.invokeNative("0xCB8F4C9343EBE240", // _0xCB8F4C9343EBE240
PlayerPedId(), // Ped ped
GetHashKey("name"), // Hash eventType
Citizen.pointerValueVector(), // Vector3* coords
Citizen.returnResultAnyway()
);
if (result) {
// ...
}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>();Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.