GET_ENTITY_BONE_INDEX_BY_NAME
Hash
0xBACA8FE9C76C124ERuntime name
GetEntityBoneIndexByNameNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xFB71170B7E76ACBASignature
int GET_ENTITY_BONE_INDEX_BY_NAME(Entity entity, const char* boneName);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
boneName | const char* | — |
Returns int
Usage
local retval = GetEntityBoneIndexByName(entity, boneName)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBACA8FE9C76C124E, entity, boneName, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetEntityBoneIndexByName(entity, boneName);
// by hash
const retval = Citizen.invokeNative('0xBACA8FE9C76C124E', entity, boneName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xBACA8FE9C76C124E, entity, boneName);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.