# ISave

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

[saverestore](https://gmod.tr/wiki/saverestore) kütüphanesinde, özellikle de [saverestore.AddSaveHook](https://gmod.tr/wiki/saverestore.AddSaveHook) fonksiyonunda kullanılan nesnedir.

Bir kayıt dosyası oluşturulurken, Half-Life 2 kayıt sistemi tarafından kullanılan oyun kayıt dosyalarına doğrudan bloklar yazmanıza olanak tanır.

## Metotlar

ISave:[EndBlock](https://gmod.tr/wiki/ISave:EndBlock)()

ISave:StartBlock ile başlatılan mevcut veri bloğunu sonlandırır ve üst bloğa geri döner. Her türlü hatayı önlemek için, başlattığınız tüm blokları sonlandırmalısınız.

ISave:[StartBlock](https://gmod.tr/wiki/ISave:StartBlock)( [string](https://gmod.tr/wiki/string) name )

Mevcut blok içinde veri yazabileceğiniz yeni bir veri bloğu başlatır. Bloklar ISave:EndBlock ile sonlandırılmalıdır.

ISave:[WriteAngle](https://gmod.tr/wiki/ISave:WriteAngle)( [Angle](https://gmod.tr/wiki/Angle) ang )

Kayıt nesnesine bir Açı (Angle) yazar.

ISave:[WriteBool](https://gmod.tr/wiki/ISave:WriteBool)( [boolean](https://gmod.tr/wiki/boolean) bool )

Kayıt nesnesine bir boolean (doğru/yanlış) değeri yazar.

ISave:[WriteEntity](https://gmod.tr/wiki/ISave:WriteEntity)( [Entity](https://gmod.tr/wiki/Entity) ent )

Kayıt nesnesine bir Varlık (Entity) yazar.

ISave:[WriteFloat](https://gmod.tr/wiki/ISave:WriteFloat)( [number](https://gmod.tr/wiki/number) float )

Kayıt nesnesine bir ondalıklı sayı (floating point) yazar.

ISave:[WriteInt](https://gmod.tr/wiki/ISave:WriteInt)( [number](https://gmod.tr/wiki/number) int )

Kayıt nesnesine bir tam sayı (integer) yazar.

ISave:[WriteString](https://gmod.tr/wiki/ISave:WriteString)( [string](https://gmod.tr/wiki/string) str )

Kayıt nesnesine null ile sonlandırılmış bir metin (string) yazar.

ISave:[WriteVector](https://gmod.tr/wiki/ISave:WriteVector)( [Vector](https://gmod.tr/wiki/Vector) vec )

Kayıt nesnesine bir Vektör (Vector) yazar.

- [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/ISave
