{"hash":"0xDC8D2FF478DF9553","ns":"MISC","name":"_GET_ITEM_TYPE","slug":"_GET_ITEM_TYPE","official":false,"named":true,"luaName":"GetItemType","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"handle","type":"ScrHandle"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"0 = invalid\n1 = CEntity\n2 = rage::volBase\n3 = rage::volSphere\n4 = rage::volBox\n5 = rage::volAggregate\n6 = rage::volCylinder\n7 = CScriptedCoverPoint\n8 = rage::ptfxScriptInfo\n9 = CPed\n10 = CVehicle\n11 = CObject\n12 = CItemSet\n13 = CPersistentCharacter"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/_GET_ITEM_TYPE","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_GET_ITEM_TYPE.md","snippets":{"lua":"local retval = GetItemType(handle)","luaInvoke":"local retval = Citizen.InvokeNative(0xDC8D2FF478DF9553, handle, Citizen.ResultAsInteger())","js":"const retval = GetItemType(handle);","jsInvoke":"const retval = Citizen.invokeNative('0xDC8D2FF478DF9553', handle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xDC8D2FF478DF9553, handle);","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."]}}