Code: Select all
new kill[33] public touch(toucher, touched){ if(kill[toucher] && kill[touched]) { static team_touched, team_toucher team_touched = get_user_team(touched) team_toucher = get_user_team(toucher) if(team_touched == 2 && team_toucher == 1) { ima[toucher] = true cs_set_weapon_ammo(give_item(toucher, "weapon_m4a1"), 30) set_user_health(toucher, 100) } }}

Code: Select all
public event_new_round(){ new players[32], num, id get_players(players, num, "aehc", "CT") if(num) id = players[random(num)] new nickas[32] get_user_name(id, nickas, 31) set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), -1.0, 0.3, 2, 0.5, 5.0) ShowSyncHudMsg(0, hudmessage3, "= Sianden dienas ves %s! =", nickas)}