ad sound to bankscript
ey, im using the CS Bank plugin (http://forums.alliedmods.net/showthread.php?t=18617)
what i wanna do is when you take a widraw from the bank that a sound is played :) the sound is called coin05.wav located in sounds\misc\(coin05.wav) what is tried is to put client_cmd(0, "spk misc/coin05.wav") ad the scripting part if cash is witdrawn but that didnt worked also did precache_sound( "misc/coin05.wav") i cant get it to work >.> what i got: Code:
|
Re: ad sound to bankscript
The client would need the sound
PHP Code:
Before he could hear it Precache Sound = Downloads the sound file and i guess it would be PHP Code:
|
Re: ad sound to bankscript
Quote:
Quote:
Quote:
@eewokney: Be sure sound exists. Also can you attach the modified plugin? |
Re: ad sound to bankscript
the .sma i try to modify: http://forums.alliedmods.net/attachm...1&d=1199540931
i got the coin05.wav in the misc folder but there is no .zmtp copy of it, do i need to do that myself i thought it goes auto... |
Re: ad sound to bankscript
server_cmd(id, "spk misc/coin05.wav") didnt worked either, how should it work?
|
Re: ad sound to bankscript
Quote:
client_cmd(id, "spk misc/coin05.wav") or console_cmd(id, "spk misc/coin05.wav") why did you think server_cmd? |
Re: ad sound to bankscript
cause lolhax said so, in my starting topic i used client_cmd
|
Re: ad sound to bankscript
Again, attach your modified plugin. I want to see if you have properly modified the plugin.
|
Re: ad sound to bankscript
oh sugar nvm i thought server_cmd was for clients but it aint is it
|
Re: ad sound to bankscript
Right, so you saw the options:
client_cmd() and: server_cmd() And thought "which one is for clients, as opposed to the server?" Well I don't know about you, but I'd post in Scripting Help and get experienced advice before answering that. You could get it the wrong way round. You know, if you're an idiot or whatever. |
| All times are GMT -4. The time now is 11:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.