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