{"hash":"0x9C37F220","ns":"CFX","name":"REMOVE_WEAPON_FROM_PED","slug":"REMOVE_WEAPON_FROM_PED","official":true,"named":true,"luaName":"RemoveWeaponFromPed","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"}],"summary":"This native removes a specified weapon from your selected ped.","descriptions":[{"source":"cfx","format":"md","body":"```\nThis native removes a specified weapon from your selected ped.\nWeapon Hashes: pastebin.com/0wwDZgkF\nExample:\nC#:\nFunction.Call(Hash.REMOVE_WEAPON_FROM_PED, Game.Player.Character, 0x99B507EA);\nC++:\nWEAPON::REMOVE_WEAPON_FROM_PED(PLAYER::PLAYER_PED_ID(), 0x99B507EA);\nThe code above removes the knife from the player.\n```\n\n**This is the server-side RPC native equivalent of the client native [REMOVE_WEAPON_FROM_PED](?\\_0x4899CB088EDF59B8).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/REMOVE_WEAPON_FROM_PED","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/REMOVE_WEAPON_FROM_PED.md","snippets":{"lua":"RemoveWeaponFromPed(ped, weaponHash)","luaInvoke":"Citizen.InvokeNative(0x9c37f220, ped, weaponHash)","js":"RemoveWeaponFromPed(ped, weaponHash);","jsInvoke":"Citizen.invokeNative('0x9c37f220', ped, weaponHash);","csharp":"Function.Call((Hash)0x9c37f220, 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` ``."]}}