Ulysses Stuff > Suggestions

Dead Mute

(1/1)

soccercrazy195:
Can we please have an automute(Players get muted when they die) mod?

vader0146:
hook.Add("PlayerSay", "MuteWhenDead", function( ply )
   if !ply:Alive() then
      return false
   end
end )

JamminR:
PlayerSay is a tricky hook.
So many scripts rely on it, but returning anything breaks the PlayerSay hook for all other scripts (if I remember correctly).
Including ULX chat commands.

Using a clientside Gamemode.OnPlayerChat would probably be better for not breaking an entire server hook system.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version