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