Player:SetMuted

  Player:SetMuted( boolean mute )

Açıklama

Oyuncunun yerel olarak sesli sohbette susturulup susturulmayacağını ayarlar.

Argümanlar

1 boolean mute
Sustur veya sesi aç.

Örnek

Sunucudaki tüm oyuncuları susturur

for i, ply in ipairs( player.GetAll() ) do ply:SetMuted( true ) end

Örnek

Susturmanın yazılı sohbete de uygulanmasını sağlar

hook.Add( "OnPlayerChat", "MutePlayerChat", function( ply ) if ply:IsMuted() then return true end end )

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord