Help Team chatsound

Hi, I need some help to make only Certain team can say “apply” or “cheese”.

I try to put in Chatsound.lua


if ply:Team() == TEAM_CITIZEN then return end

and it work, citizen can’t say the sound and all other faction can say the sound, but when i do


if ply:Team() == TEAM_MILICE then return end

it doesn’t work anymore, all team can say the ChatSound. Please Help.

And also, I want to know how make multiple ChatSound, because i would like to make a different Chatsound for CP and CITIZEN.

Thanks for all answer !!!