|
if( team == CS_TEAM_CT ) {
new i
for( i = 1; i < get_maxplayers(); i++ ) {
if( !is_user_connected(i) ) continue
if( get_user_team(id) == get_user_team(i) ) {
client_cmd(i, "spk ^"events/task_complete.wav^" " )
if( get_cvar_num("amx_sound_notify") > 0 ) {
client_print(i, print_chat, "【系统消息】人质已经安全了" )
}
}
}
}
}
else if(equal(arg2, "Planted_The_Bomb")) {
if( team == CS_TEAM_T ) {
new i
for( i = 1; i < get_maxplayers(); i++ ) {
if( !is_user_connected(i) ) continue
if( get_user_team(id) == get_user_team(i) ) {
client_cmd(i, "spk ^"events/task_complete.wav^" " )
if( get_cvar_num("amx_sound_notify") > 0 ) {
client_print(i, print_chat, "【系统消息】匪徒安装好了炸弹" )
}
|
|