RedM Natives

IS_PED_RAGDOLL

If the ped handle passed through the parenthesis is in a ragdoll state this will return true.

Hash0x47E4E977581C5B55
Runtime nameIsPedRagdoll
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x47E4E977581C5B55

Signature

BOOL IS_PED_RAGDOLL(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

If the ped handle passed through the parenthesis is in a ragdoll state this will return true.

Usage

Lua
local retval = IsPedRagdoll(ped)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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