{"hash":"0x77210C146CED5261","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_FITS_SLOT_INFO","slug":"_ITEMDATABASE_GET_FITS_SLOT_INFO","official":false,"named":true,"luaName":"ItemdatabaseGetFitsSlotInfo","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"category","type":"Hash"},{"name":"index","type":"int"},{"name":"outSlotId","type":"Hash*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_FITS_SLOT_INFO","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_FITS_SLOT_INFO.md","snippets":{"lua":"local retval, outSlotId = ItemdatabaseGetFitsSlotInfo(category, index, outSlotId)","luaInvoke":"local retval, outSlotId = Citizen.InvokeNative(0x77210C146CED5261, category, index, Citizen.PointerValueIntInitialized(outSlotId), Citizen.ReturnResultAnyway())","js":"const [retval, outSlotId] = ItemdatabaseGetFitsSlotInfo(category, index, outSlotId);","jsInvoke":"const [retval, outSlotId] = Citizen.invokeNative('0x77210C146CED5261', category, index, Citizen.pointerValueIntInitialized(outSlotId), Citizen.returnResultAnyway());","csharp":"var outSlotId = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x77210C146CED5261, category, index, outSlotId);\n// outSlotId.GetResult<int>()","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","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."]}}