Quote:
Originally Posted by noodleboy347
PHP Code:
EmitSoundToAll(WEED_SOUND, client);
Everyone at full volume. Likely to get spammed though.
|
I thought it would be emitted AT the client in the second parameter?
EDIT: looking at other people's code, I think I can safely say it plays at the client and you can only hear it in a certain radius.
Quote:
Originally Posted by retsam
I am not putting a sound file into an "imgay" directory.
|
that's the name of my server's clan
International Master's Gaming Alliance (Yes!) [IM'GA(Y!)]
Quote:
Originally Posted by retsam
For one thing, you cant precache files OnPluginStart, that should be done on mapstart.
Second. You need to add the file to downloads table, or no players will download it when they join the server.
|
oops, I'll fix it XD
EDIT: Updated!
__________________