{"hash":"0xB8278882","ns":"CFX","name":"SET_CURRENT_PED_WEAPON","slug":"SET_CURRENT_PED_WEAPON","official":true,"named":true,"luaName":"SetCurrentPedWeapon","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"},{"name":"bForceInHand","type":"BOOL"}],"summary":"SET_CURRENT_PED_WEAPON This is the server-side RPC native equivalent of the client native SET_CURRENT_PED_WEAPON.","descriptions":[{"source":"cfx","format":"md","body":"SET_CURRENT_PED_WEAPON\n\n**This is the server-side RPC native equivalent of the client native [SET_CURRENT_PED_WEAPON](?\\_0xADF692B254977C0C).**"}],"examples":[],"aliases":[],"enums":[],"related":["0xB0237302"],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_CURRENT_PED_WEAPON","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_CURRENT_PED_WEAPON.md","snippets":{"lua":"SetCurrentPedWeapon(ped, weaponHash, bForceInHand)","luaInvoke":"Citizen.InvokeNative(0xb8278882, ped, weaponHash, bForceInHand)","js":"SetCurrentPedWeapon(ped, weaponHash, bForceInHand);","jsInvoke":"Citizen.invokeNative('0xb8278882', ped, weaponHash, bForceInHand);","csharp":"Function.Call((Hash)0xb8278882, ped, weaponHash, bForceInHand);","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` ``."]}}