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 i, ply in ipairs( player.GetAll() ) do ply:SetMuted( true ) end

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12