{"hash":"0xEE04C0AFD4EFAF0E","ns":"MISC","name":"_GET_ENTITY_FROM_ITEM","slug":"_GET_ENTITY_FROM_ITEM","official":false,"named":true,"luaName":"GetEntityFromItem","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"item","type":"ScrHandle"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/MISC/_GET_ENTITY_FROM_ITEM","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_GET_ENTITY_FROM_ITEM.md","snippets":{"lua":"local retval = GetEntityFromItem(item)","luaInvoke":"local retval = Citizen.InvokeNative(0xEE04C0AFD4EFAF0E, item, Citizen.ResultAsInteger())","js":"const retval = GetEntityFromItem(item);","jsInvoke":"const retval = Citizen.invokeNative('0xEE04C0AFD4EFAF0E', item, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEE04C0AFD4EFAF0E, item);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}