• Gmod Voice weapon problem
    0 replies, posted
Hi, I would like to create a script that allows players with the same weapon to be heard but I can't I have try with this code --> hook.Add("PlayerCanHearPlayersVoice", "CutiListen", function(listener, speaker)     if speaker:Alive() and listener:Alive() then         if (speaker:GetActiveWeapon():GetClass() == "weapon_cuti" and listener:GetActiveWeapon():GetClass() == "weapon_cuti" )  then             return true         else             return false         end     end end) It's doesn't work.... Can you help me plz ? Thanks, have a good day !
Sorry, you need to Log In to post a reply to this thread.