Alright, so in the mod I'm currently making, I need to add a few guns. The guns are working great except for one thing; sounds. I'm using the following code to attempt to play a sound when my gun is shot.
The sound is loaded fine, it is loaded just like the sounds for my entities, but for some reason, this one isn't working.
Does anybody know why?