problem making hitsounds


(ZeAvIs) #21

hey jay, you’ll need to add this line in cg_checklocalsounds above the first if statement

if(ps->persistant[PERS_TEAM] == ops->persistant[PERS_TEAM])

without this a hitsound will play when you change teams.

But thanks a lot for the code though, it was very helpful.


(jaybird) #22

Roger that. Thanks for the tip ;]