# undo.Finish

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

```lua
undo.Finish( string NiceText = nil )
```

## Açıklama

Bir geri alma girdisini tamamlar ve oyuncunun istemcisine kaydeder.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **NiceText** = nil: Oyuncunun geri alma geçmişinde görünen metin. Eğer ayarlanmazsa, geri almanın adı olarak ayarlanır.

### Örnek

Bu örnek bir prop_physics oluşturur ve bunu oyuncunun geri alma listesine ekler.

```lua
local prop = ents.Create( "prop_physics" )
prop:SetModel( "models/props_junk/wood_crate001a.mdl" )
prop:Spawn()

undo.Create( "prop" )
	undo.AddEntity( prop )
	undo.SetPlayer( Player )
undo.Finish( "Prop (" .. prop:GetModel() .. ")" )
```

- [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.Finish
