how can i emit a sound when selecting a weapon? Created 2 years ago2021-04-26 12:26:31 UTC by petergriffinxxxtentacion petergriffinxxxtentacion

Created 2 years ago2021-04-26 12:26:31 UTC by petergriffinxxxtentacion petergriffinxxxtentacion

Posted 2 years ago2021-04-26 12:26:31 UTC Post #345563
i tried EMIT_SOUND(ENT(pev) but it didn't work
User posted image
here's what i tried
Posted 2 years ago2021-04-26 20:40:57 UTC Post #345564
You're returning from the function on the first line (return DefaultDeploy...), so the second line (EMIT_SOUND(...) is never executed.
You must be logged in to post a response.