CAN_PED_RAGDOLL
Hash
0x128F79EDCECE4FD5Runtime name
CanPedRagdollNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x128F79EDCECE4FD5Signature
BOOL CAN_PED_RAGDOLL(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Usage
local retval = CanPedRagdoll(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x128F79EDCECE4FD5, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = CanPedRagdoll(ped);
// by hash
const retval = Citizen.invokeNative('0x128F79EDCECE4FD5', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x128F79EDCECE4FD5, ped);See also
IS_PED_RAGDOLLIf the ped handle passed through the parenthesis is in a ragdoll state this will return true.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.