Raised This Month: $ Target: $400
 0% 

Sound by steamip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 03-21-2011 , 06:45   Sound by steamip
Reply With Quote #1

Hello. i would like to know how i make a a sound play for example "Player has connected" If i configured that sound for Player's steamid. Or if i connect it will say flyinghorse has connected and blabla.. i already have the sounds.. just need to know how
FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
nnajko
Senior Member
Join Date: May 2009
Location: Sweden
Old 03-21-2011 , 09:07   Re: Sound by steamip
Reply With Quote #2

You mean something like this?
PHP Code:
public client_putinserver(id)
{
        new 
szAuth[35];
        
get_user_authid(idszAuthcharsmax(szAuth));
    
        if( 
equal(szAuth"-Your Steam ID-") )
        {
            
client_print(0print_chat"FlyingHorse has connected!");
        }
        else
        {
            new 
szName[32];
            
get_user_name(idszNamecharsmax(szName));
        
            
client_print(0print_chat"%s has connected!");
        }

nnajko is offline
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 03-21-2011 , 19:09   Re: Sound by steamip
Reply With Quote #3

ill try add sounds to that, and try it, thanks, ill come with a response when i did
FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
Reply


Thread Tools
Display Modes

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 14:31.


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