Hello guys,
I need here some help, i want that if the player drop the Bazooka that he auto switch to the knife. Here is the Code:
PHP Code:
public drop_call(id)
{
if ( has_baz[id] && get_user_weapon(id) == CSW_KNIFE )
{
drop_rpg_temp(id);
return PLUGIN_HANDLED; //attempt to block can't drop knife message
}
return PLUGIN_CONTINUE;
}