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