should this work i dunno
Code:
#include <amxmodx>
#include <cstrike>
public plugin_init(){
new mapname[8]
get_mapname(mapname, charsmax(mapname))
if (contain(mapname, "as_") == -1)
pause("d")
register_event("HLTV", "NewRound", "a", "1=0", "2=0")
}
public NewRound(){
new players[MAX_PLAYERS], num, id
get_players(players, num, "aceh", "CT")
for (new i = 0; i < num; i++){
id = players[i]
if (cs_get_user_vip(id)){
set_hudmessage(255, 255, 255, .holdtime=6.0)
show_hudmessage(0, "%n is the chosen VIP", id)
client_cmd(0, "spk file.wav")
break
}
}
}
__________________