# Player:AddCleanup

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

```lua
Player:AddCleanup( string type, Entity ent )
```

## Açıklama

> **NOT:** Bu fonksiyon sadece Sandbox ve türevlerinde kullanılabilir.

Oyuncunun temizleme listesine bir entity ekler. Bu, dahili olarak [cleanup.Add](https://gmod.tr/wiki/cleanup.Add) fonksiyonunu kullanır.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **type**: Bu Entity için Temizleme türü.
2. [Entity](https://gmod.tr/wiki/Entity) **ent**: Eklenecek Entity.

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