# Player:SprayDecal

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

```lua
Player:SprayDecal( Vector sprayOrigin, Vector sprayEndPos )
```

## Açıklama

Oyuncunun spreyini yapmasını sağlar.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **sprayOrigin**: Spreyin yapılacağı başlangıç konumu
2. [Vector](https://gmod.tr/wiki/Vector) **sprayEndPos**: Spreyin yapılacağı bitiş konumu

### Örnek

Oyuncunun spreyini 5000 birim uzağa yapmasını sağlar.

```lua
local ply = Entity( 1 )
local eyepos = ply:EyePos()
ply:SprayDecal( eyepos, eyepos + ply:GetAimVector() * 5000 )
```

- [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:SprayDecal
