fm_strip_user_gun(id) strips the current weapon from a player.
If you want to remove a specific weapon from him, you have to pass the weapon type OR the weapon name, simple seems to be weapon name :
PHP Code:
fm_strip_user_gun(id, .wname="weapon_c4")
PHP Code:
fm_strip_user_gun(id, CSW_C4)
PHP Code:
fm_strip_user_gun(id, _, "weapon_c4")
PHP Code:
fm_strip_user_gun(id, 0, "weapon_c4")
]wrecked_
If you pass weapontype, weaponname is just ignored.
__________________