# Entity:SetShouldPlayPickupSound

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Entity:SetShouldPlayPickupSound
- **Çeviri tarihi:** 2025-09-08

```lua
Entity:SetShouldPlayPickupSound( boolean playsound = false )
```

## Açıklama

Bir oyuncu tarafından alındığında varlığın bir fiziksel temas sesi çıkarıp çıkarmayacağını ayarlar.

## Argümanlar

1. [boolean](https://gmod.tr/wiki/boolean) **playsound** = false: Alınma sesini çalmak için true, aksi takdirde false.

### Örnek

Tüm varlıklarda alınma sesini etkinleştirin.

```lua
function GM:OnEntityCreated(ent)
    ent:SetShouldPlayPickupSound(true)
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/Entity:SetShouldPlayPickupSound
