RedM Natives

SET_PED_CAN_RAGDOLL

Hash0xB128377056A54E2A
Runtime nameSetPedCanRagdoll
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB128377056A54E2A

Signature

void SET_PED_CAN_RAGDOLL(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Usage

Lua
SetPedCanRagdoll(ped, toggle)

-- always works, by hash
Citizen.InvokeNative(0xB128377056A54E2A, ped, toggle)
JavaScript and C#
JavaScript
SetPedCanRagdoll(ped, toggle);

// by hash
Citizen.invokeNative('0xB128377056A54E2A', ped, toggle);
C#
Function.Call((Hash)0xB128377056A54E2A, ped, toggle);

Sources

alloc8or RDR3 NativeDB

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