Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
It will probably tell what's the problem
I, by using my telepathy, suspect that you specified the wrong path to sound file.
Basically all sounds are already releative to 'sound' folder in your addon.
This happened to me way often than it should...
I changed "self:emit" like you said, but the sound still didn't work, so my assumption is that it has something to do with the "util.PrecacheSound" code.
From official wiki[wiki.facepunch.com]:
You can use Sound function, it works for sure:
local reload = Sound("ak47/reload.wav") -- releative to sound folder, remember.
Or you can play sounds directly, duh.
Good luck.
I honestly don't know what to do and am seriously stumped.