Raised This Month: $ Target: $400
 0% 

[BUG] - Welcome Sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-09-2021 , 15:56   Re: [BUG] - Welcome Sound
Reply With Quote #4

1. client_connect() is called while the client is still connecting. Playing the sound 3 seconds after this doesn't guarantee that he is in the server and can hear the sound. It's best to use client_putinserver() for this which is called when the client enters the game.

2. You defined your path as "sound/misc/welcome.wav" but you're playing "welcome.wav" which defaults to the "sound" folder. You're not using the "szWelcome" variable there.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



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 11:36.


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