not sure if this is exactly what u want but u can arrange it the way you want it
Code:
public plugin_int() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("CurWeapon","current_weapon")
}
public current_weapon(id){
new team = get_user_team(id,team,31)
new ammo,clip,weapon
get_user_weapon(weapon,ammo,clip)
if(weapon == CSW_GLOCK18)
{
if(team == 2) //CT
{
strip_user_weapons(id)
give_item(id,"weapon_flashbang")
give_item(id,"weapon_flashbang")
give_item(id,"weapon_smokegrenade")
}
}
else if(weapon == CSW_KNIFE)
{
if(team == 1) //Terroist
{
strip_user_weapons(id)
give_item(id,"weapon_flashbang")
give_item(id,"weapon_flashbang")
give_item(id,"weapon_smokegrenade")
}
}
}
__________________