RedM Natives

CAN_PED_RAGDOLL

Hash0x128F79EDCECE4FD5
Runtime nameCanPedRagdoll
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x128F79EDCECE4FD5

Signature

BOOL CAN_PED_RAGDOLL(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = CanPedRagdoll(ped)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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