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