PLAY a .wav file to all users...
How would I do this...
sorry..im stupid..wish i had v3x's brain..or i wish i was a seamstress...hmmm..hard decision. |
Im pretty sure you have to create a precatch plugin
|
its called precache...and that is just so people download the sound :?
|
client_cmd( 0 , "spk path/to/my.wav")
path starts in sound directory so if the sound was in sound/misc/my.wav it would be spk misc/my.wav |
So is this good?
Code:
|
Code:
|
I'd use play. Its better.
|
What's the diff.?
|
doesnt work.
|
here have this my script:
Code:
#include <amxmod> addons/amxmodx/configs/sound.txt just names of files without .wav insert files in: sound/misc/ (serverside) when game: amx_play soundname << to play sound amx_playshow to see files in sound.txt |
| All times are GMT -4. The time now is 16:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.