[QUOTE=code_gs;45244033]Change this:
[code] if ( !IsValid( LocalPlayer( ) ) then return; end[/code]
to this:
[code] if ( !IsValid( LocalPlayer( ) ) ) then return; end[/code][/QUOTE]
Ok that fixed that issue, Now I get this: [url]http://gyazo.com/c24b57f16ca159ede83ced0c7b0761de[/url] When in actual fact it is located in the correct place which is here: [url]http://gyazo.com/94a926b7e3bdc10ba262603c0a11d31d[/url] and also here is my code for the main script: [url]http://gyazo.com/9eb3b610dadbe1635080fbb69c896537[/url] (Blocked out my two friend's steam ID's ;)
Is that file on your client too?
Remove sound/ from the path your giving surface.PlaySound. It searches for the sound relative to the sound folder so you don't need to add it to the path.
[QUOTE=ShadowRanger;45245592]Remove sound/ from the path your giving surface.PlaySound. It searches for the sound relative to the sound folder so you don't need to add it to the path.[/QUOTE]
Thank you all so much for being patient with me and helping me :D Now I have got it up and running.....and I would assume to add this into the sound directory of my fastdl ? so people download the sound file
Yes, add it to your FastDL and resource.AddFile it as well.
[QUOTE=ShadowRanger;45249978]Yes, add it to your FastDL and resource.AddFile it as well.[/QUOTE]
what do you mean resource.AddFile it ? Like add it with the addons I resource.AddFile ? Like in the same lua file ?