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