# PrintMessage

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Global.PrintMessage
- **Çeviri tarihi:** 2025-09-08

```lua
PrintMessage( number type, string message )
```

## Açıklama

Her oyuncunun sohbetine, konsoluna veya ekranının ortasına bir mesaj gösterir.

Bu, eski kullanıcı mesaj sistemini ([umsg](https://gmod.tr/wiki/umsg)) kullanır ve bu nedenle 255 karakter ile sınırlıdır.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **type**: Oyunculara hangi türde mesaj gönderilmesi gerektiğini belirtir (bkz. [HUD enum](https://gmod.tr/wiki/Enums/HUD))
2. [string](https://gmod.tr/wiki/string) **message**: Oyunculara gönderilecek mesaj

### Örnek

Her oyuncunun sohbetine şunu yazar: "I'm new here."

```lua
PrintMessage(HUD_PRINTTALK, "I'm new here.")
```

**Çıktı:** I'm new here.

- [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/Global.PrintMessage
