PHP Code:
public event_curweapon(id)
{
new wpn = read_data(2);
if(wpn != CSW_USP)
return PLUGIN_CONTINUE
strip_user_weapons(id)
give_item (id, "weapon_knife")
return PLUGIN_CONTINUE;
}
How can i make same thing to glock, but glock would give 2flashbangs and 1 smokegrenade instead.
and if terrorist side player got knife it would do same
__________________