public plugin_int() { register_event("DeathMsg","event_death","a","1>0") } plubic event_death(id) { new Killer = read_data(1) new Victim = read_data(2) if(!equal(Killer, Victim)) { new teamA = get_user_team(Killer) new teamB = get_user_team(Victim) if(teamA == teamB) { //play sound } } }
/home/groups/amxmodx/tmp3/textkK55u1.sma(16) : error 035: argument type mismatch (argument 1)