RedM Natives

CAN_KNOCK_PED_OFF_VEHICLE

Hash0x51AC07A44D4F5B8A
Runtime nameCanKnockPedOffVehicle
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x51AC07A44D4F5B8A

Signature

BOOL CAN_KNOCK_PED_OFF_VEHICLE(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = CanKnockPedOffVehicle(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x51AC07A44D4F5B8A, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = CanKnockPedOffVehicle(ped);

// by hash
const retval = Citizen.invokeNative('0x51AC07A44D4F5B8A', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x51AC07A44D4F5B8A, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.