{"hash":"0xFE1589F9","ns":"CFX","name":"GET_ENTITY_ATTACHED_TO","slug":"GET_ENTITY_ATTACHED_TO","official":true,"named":true,"luaName":"GetEntityAttachedTo","game":"cfx","apiset":"server","returnType":"Entity","params":[{"name":"entity","type":"Entity","description":"The entity to check."}],"returnsDescription":"The attached entity handle. 0 returned if the entity is not attached.","summary":"Gets the entity that this entity is attached to.","descriptions":[{"source":"cfx","format":"md","body":"Gets the entity that this entity is attached to."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ATTACHED_TO","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_ENTITY_ATTACHED_TO.md","snippets":{"lua":"local retval = GetEntityAttachedTo(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0xfe1589f9, entity, Citizen.ResultAsInteger())","js":"const retval = GetEntityAttachedTo(entity);","jsInvoke":"const retval = Citizen.invokeNative('0xfe1589f9', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xfe1589f9, entity);","notes":[]}}