21.01.2015, 14:44
This won't work if player will be in vehicle. I recommend function SetPlayerAmmo
Quote:
Tip: Set the ammo to 0 to remove a weapon from a player's inventory. Note that the weapon will still show up in GetPlayerWeaponData, albeit with 0 ammo. |
Код:
stock removePlayerWeapon(playerid, weaponid) return SetPlayerAmmo(playerid, weaponid, 0);