# Player:SetMuted

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Player:SetMuted
- **Çeviri tarihi:** 2025-09-08

```lua
Player:SetMuted( boolean mute )
```

## Açıklama

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

## Argümanlar

1. [boolean](https://gmod.tr/wiki/boolean) **mute**: Sustur veya sesi aç.

### Örnek

Sunucudaki tüm oyuncuları susturur

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

### Örnek

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

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

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/Player:SetMuted
