Raised This Month: $ Target: $400
 0% 

client_putinserver, play sound for connected player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-17-2009 , 07:27   Re: client_putinserver, play sound for connected player
Reply With Quote #6

Try this:
Code:
public client_putinserver(id)         set_task(2.0, "taskPlaySnd", id);   public taskPlaySnd(id)         client_cmd(id, "mp3 play %s", music[1]);
I remember something like if player starts playing an MP3 while he's connecting (on client_connect() or client_authorized()), the sound stops on client_putinserver(). So that's why you should try to do that AFTER it.
__________________
hleV 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 15:29.


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