{"hash":"0x48229CE0C7938237","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_AWARD_UNLOCK_FLAG_COUNT","slug":"_ITEMDATABASE_GET_AWARD_UNLOCK_FLAG_COUNT","official":false,"named":true,"luaName":"ItemdatabaseGetAwardUnlockFlagCount","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"award","type":"Hash"}],"summary":"Returns the count of unlock flags for an award.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the count of unlock flags for an award."},{"source":"vorp","format":"text","body":"hash eg: AWARD_DEBUG_HIDE_LEGENDARY_BOUNTY_00"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_AWARD_UNLOCK_FLAG_COUNT","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_AWARD_UNLOCK_FLAG_COUNT.md","snippets":{"lua":"local retval = ItemdatabaseGetAwardUnlockFlagCount(award)","luaInvoke":"local retval = Citizen.InvokeNative(0x48229CE0C7938237, award, Citizen.ResultAsInteger())","js":"const retval = ItemdatabaseGetAwardUnlockFlagCount(award);","jsInvoke":"const retval = Citizen.invokeNative('0x48229CE0C7938237', award, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x48229CE0C7938237, award);","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 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."]}}