# scripted\_ents.GetStored

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

```lua
table scripted_ents.GetStored( string classname )
```

## Açıklama

Bir sınıf için gerçek ENT tablosunu döndürür. Bu tablodaki fonksiyonları/değişkenleri değiştirmek, yeni oluşturulan varlıkları etkileyecektir.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **classname**: Döndürülecek ENT tablosunun sınıf adı

## Döndürülen Değer

1. [table](https://gmod.tr/wiki/table): entTablosu

### Örnek

Yeni oluşturulan tüm gmod_button'ların kullanımda bir mesaj yazdırmasını sağlar.

```lua
local ENT = scripted_ents.GetStored("gmod_button").t
local oldUse = ENT.Use
function ENT:Use(activator, caller, type, value)
 print(tostring(self.Entity).." just got pressed!")
 oldUse(self,activator, caller, type, value)
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/scripted_ents.GetStored
