{"hash":"0xEDCA14CA5199FF25","ns":"WEAPON","name":"GET_WEAPONTYPE_GROUP","slug":"GET_WEAPONTYPE_GROUP","official":true,"named":true,"luaName":"GetWeapontypeGroup","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"weaponHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xC3287EE3050FB74C","gtaJhash":"0x5F2DE833","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/GET_WEAPONTYPE_GROUP","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/GET_WEAPONTYPE_GROUP.md","snippets":{"lua":"local retval = GetWeapontypeGroup(weaponHash)","luaInvoke":"local retval = Citizen.InvokeNative(0xEDCA14CA5199FF25, weaponHash, Citizen.ResultAsInteger())","js":"const retval = GetWeapontypeGroup(weaponHash);","jsInvoke":"const retval = Citizen.invokeNative('0xEDCA14CA5199FF25', weaponHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEDCA14CA5199FF25, weaponHash);","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` ``."]}}