{"hash":"0xD42514C182121C23","ns":"WEAPON","name":"_GET_DEFAULT_PED_WEAPON_COLLECTION","slug":"_GET_DEFAULT_PED_WEAPON_COLLECTION","official":false,"named":true,"luaName":"GetDefaultPedWeaponCollection","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"pedModel","type":"Hash"}],"summary":"Returns weaponCollection Hash","descriptions":[{"source":"alloc8or","format":"text","body":"Returns weaponCollection Hash\nExample: RE_POLICECHASE_MALES_01: Carbine Repeater + Knife, LO_AGRO_PED"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_DEFAULT_PED_WEAPON_COLLECTION","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_DEFAULT_PED_WEAPON_COLLECTION.md","snippets":{"lua":"local retval = GetDefaultPedWeaponCollection(pedModel)","luaInvoke":"local retval = Citizen.InvokeNative(0xD42514C182121C23, pedModel, Citizen.ResultAsInteger())","js":"const retval = GetDefaultPedWeaponCollection(pedModel);","jsInvoke":"const retval = Citizen.invokeNative('0xD42514C182121C23', pedModel, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xD42514C182121C23, pedModel);","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."]}}