_GET_PED_RAGDOLL_BONE_INDEX
Returns boneIndex
Hash
0xC5303F460A40D21DRuntime name
GetPedRagdollBoneIndexNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_PED_RAGDOLL_BONE_INDEX(Ped ped, int boneId);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
boneId | int | — |
Returns int
Description
Returns boneIndex
Usage
local retval = GetPedRagdollBoneIndex(ped, boneId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC5303F460A40D21D, ped, boneId, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedRagdollBoneIndex(ped, boneId);
// by hash
const retval = Citizen.invokeNative('0xC5303F460A40D21D', ped, boneId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xC5303F460A40D21D, ped, boneId);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- eAnimBoneTag 911 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.