Re: Problem with playing Sound + StrContains doesn't works
remember this?
public OnClientPutInServer(client) { CreateTimer(3.0,ExecJoinsound) } public Action:ExecJoinsound(Handle:timer) { EmitSoundToAll("fairfailt/zielen.wav") } |
Re: Problem with playing Sound + StrContains doesn't works
Code:
public OnClientPostAdminCheck(client) |
Re: Problem with playing Sound + StrContains doesn't works
I don't think you even need to delay it in OnClientPutInServer. You should be able to play it then.
|
Re: Problem with playing Sound + StrContains doesn't works
No, because sometimes OnClientPutInServer runs before the client is fully in the game. Sometimes it runs while they are still sending info.
|
Re: Problem with playing Sound + StrContains doesn't works
It's going to consistently fire at a certain point every time. There is no "sometimes" it would either not work or always work. I would think it works. Has anyone tried it?
|
Re: Problem with playing Sound + StrContains doesn't works
Quote:
|
Re: Problem with playing Sound + StrContains doesn't works
In my experience, I always connect at slightly different times. Sometimes I hear the join sound, sometimes I don't. That is, until I put a 3 second timer on it. Then I heard it every time.
|
All times are GMT -4. The time now is 21:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.