Raised This Month: $ Target: $400
 0% 

print a message for a team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 07-14-2017 , 16:16   print a message for a team
Reply With Quote #1

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_plantingid )
{
    new 
name[32], ran;
    
get_user_name(idnamecharsmax(name))
    
    
ran random_num(1)
        
    if(
cs_get_user_team(id) == CS_TEAM_T)
    {
        
client_print(idprint_chat"%s (RADIO): I'm planting the bomb"name)
        switch(
ran)
        {
            case 
0client_cmd(id"spk csgo/radio/elite/plantingbomb01.wav")
            case 
1client_cmd(id"spk csgo/radio/elite/plantingbomb02.wav")
        }
    }

__________________

Last edited by Ayman Khaled; 07-14-2017 at 16:22.
Ayman Khaled is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode