ENTITY

GET_ENTITY_OF_TYPE_ATTACHED_TO_ENTITY

0x1F922734E259BD26

Signature

// ENTITY
Entity GET_ENTITY_OF_TYPE_ATTACHED_TO_ENTITY(Entity entity, Hash modelHash)

Parameters

Type Name
Entity entity
Hash modelHash

Return type Entity

Build 1180

Former names

  • _GET_ENTITY_ATTACHED_TO_WITH_HASH

Documentation

Gets the handle of an entity with a specific model hash attached to another entity, such as an object attached to a ped. This native does not appear to have anything to do with pickups as in scripts it is used with objects. Example from fm_mission_controller_2020.c: iVar8 = ENTITY::_0x1F922734E259BD26(bParam0->f_9, joaat("p_cs_clipboard"));

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.