sound file not found?!

hi!
ive got a superjump script but its quite boring so i want to jazz it up a bit,
i got a sound file called boost.wav in
garrysmod/garrysmod/sound/sfx/boost.wav

i was using ply:EmitSound but that couldnt find my sound file?

my questions:
whats the best way to emit sound
why cant my file be found?

Entity:EmitSound(“sfx/boost.wav”)

Don’t forget to send the file to your clients.

how do i send it to them?

You need to either set up a FastDL, make an addon on the workshop (ogodno) or make them download it themselves somehow, then resources.AddFile(“sound/sfx/boost.wav”) in a serverside autorun.

Thanks

[editline]7th March 2015[/editline]

after i added this in my code


Entity:EmitSound("sfx/boost.wav")

it gave me this error



[ERROR] gamemodes/advw/gamemode/shared.lua:14: attempt to index global 'Entity' (a function value)
  1. unknown - gamemodes/advw/gamemode/shared.lua:14


im not sure if it would be


ply:EmitSound

thanks for helping :slight_smile:

EDIT-
Never mind guys thanks for the help ive fixed it now!
i used


LocalPlayer():EmitSound