RemoveWeaponFromPed — FiveM Natives
0x9C37F220 · CFX · server
`` This native removes a specified weapon from your selected ped. Weapon Hashes: pastebin.com/0wwDZgkF Example: C#: Function.Call(Hash.REMOVE_WEAPON_FROM_PED, Game.Player.Character, 0x99B507EA); C++: WEAPON::REMOVE_WEAPON_FROM_PED(PLAYER::PLAYER_PED_ID(), 0x99B507EA); The code above removes the knife from the player. `` This is the server-side RPC native equivalent of the client native REMOVE_WEAPON_FROM_PED.
Parameters
| Name | Type |
|---|---|
| ped | Ped |
| weaponHash | Hash |
Returns
void