# undo.Do\_Undo

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

```lua
number undo.Do_Undo( table tab )
```

## Açıklama

Bir geri alma bloğunu (tablo formunda) işler. Bu, bir oyuncu Z tuşuna bastığında geri alma yöneticisi tarafından dahili olarak kullanılır.

Bu fonksiyonu doğrudan çağırmak yerine `gmod_undo` veya `gmod_undonum *num*` konsol komutlarını kullanmalısınız.

## Argümanlar

1. [table](https://gmod.tr/wiki/table) yapısında bir [Undo structure](https://gmod.tr/wiki/Structures/Undo) **tab**: İşlenecek geri alma bloğu, bir [Undo structure](https://gmod.tr/wiki/Structures/Undo) olarak

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

1. [number](https://gmod.tr/wiki/number): Kaldırılan obje sayısı

### Örnek

Bu örnek iki objeyi kaldırır ve 1 numaralı oyuncuya az önce "Undone Prop!" yaptığını bildirir.

```lua
local tab = {}
tab.Owner = Entity(1)
tab.Name = "prop"
tab.Entities = {Entity(56),Entity(57)}
undo.Do_Undo(tab)
```

- [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/undo.Do_Undo
