# sound.Play

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/sound.Play
- **Çeviri tarihi:** 2026-02-23

```lua
sound.Play( string snd, Vector pos, number level = 75, number pitch = 100, number volume = 1, number dsp = 0 )
```

## Açıklama

Bir UI sesi gibi pozisyonsuz bir ses çalmak istiyorsanız, kullanın [surface.PlaySound](https://gmod.tr/wiki/surface.PlaySound)Bunun yerine.

Bu function is benzer [İletişim Sesleri](https://gmod.tr/wiki/Global.EmitSound), ama daha az seçenekle.

## Argümanlar

- 1. [ip](https://gmod.tr/wiki/string) **Snd**: Bu ses ya bir ses metni adı olmalıdır ([sound.Add](https://gmod.tr/wiki/sound.Add)) veya ile ilgili bir dosya yolu.`sound/`klasör. (Kesin olmayanı not edin)**S.**)
2 (Düzenleyici). [Vektör](https://gmod.tr/wiki/Vector) **Yapacaklar**: Ses çalması gereken yerde.
3 İhtiyacımız. [Numarası](https://gmod.tr/wiki/number) **düzeyi**= 75: Ses seviyesi decibelde. 75 normaldir. 20 ila 180 arasında değişir, 180 ise süper yüksek. Bu sesin ne kadar uzakta işitileceğini etkiler.[SNDLVL enum](https://gmod.tr/wiki/Enums/SNDLVL)
Dört. [Numarası](https://gmod.tr/wiki/number) **atış**= 100: Ses yüksekliği 0'dan 255'e kadar. 100 normal yüksekliğidir.
5 İhtiyacımız. [Numarası](https://gmod.tr/wiki/number) **Hacim**= 1: Ses çıkış hacmi 0 ila 1 aralığında.
- 6. [numara](https://gmod.tr/wiki/number) **dsp**= 0: Bu ses için DSP önceden ayarlandı. [DSP Ön ayarları](https://gmod.tr/wiki/DSP_Presets)

### Örnek

(0, 0, 0) harita koordinatlarında patlama sesi çalıyor.

```lua
sound.Play( "ambient/explosions/exp1.wav", Vector(0, 0, 0) )
```

- [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/sound.Play
