View Single Post
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-20-2010 , 01:31   Re: [TF2] Smoke Weed Every Day
Reply With Quote #7

Quote:
Originally Posted by noodleboy347 View Post
PHP Code:
EmitSoundToAll(WEED_SOUNDclient); 
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 View Post
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 View Post
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!
__________________

Last edited by Mecha the Slag; 05-20-2010 at 01:45.
Mecha the Slag is offline