Garry's Mod Wiki

Player:SetMuted

Player:SetMuted( boolean mute )

Description

Sets if the player should be muted locally.

Arguments

1 boolean mute
Mute or unmute.

Example

Mutes all players on the server

for k, v in pairs(player.GetAll()) do v:SetMuted(true) end

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 13