Hi.
when someone planting the bomb , i was message & sound appear only for terrorists, seriously i don't know how, i tried many times but nothing
I'm still learning...
PHP Code:
public bomb_planting( id )
{
new name[32], ran;
get_user_name(id, name, charsmax(name))
ran = random_num(0 , 1)
if(cs_get_user_team(id) == CS_TEAM_T)
{
client_print(id, print_chat, "%s (RADIO): I'm planting the bomb", name)
switch(ran)
{
case 0: client_cmd(id, "spk csgo/radio/elite/plantingbomb01.wav")
case 1: client_cmd(id, "spk csgo/radio/elite/plantingbomb02.wav")
}
}
}
__________________