# IRestore:StartBlock

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

```lua
string IRestore:StartBlock()
```

## Açıklama

Mevcut blok içinde okunacak bir sonraki veri bloğunu yükler. Bloklar **mutlaka** [IRestore:EndBlock](https://gmod.tr/wiki/IRestore:EndBlock) ile bitirilmelidir.

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

1. [string](https://gmod.tr/wiki/string): Okunacak bir sonraki veri bloğunun adı.

### Örnek

Örnek kullanım.

```lua
saverestore.AddRestoreHook( "HookNameHere", function( save )
	local name = save:StartBlock()
	local myval = save:ReadString()
	save:EndBlock()

	print( name, myval )
end )
```

**Çıktı:** [ISave:StartBlock](https://gmod.tr/wiki/ISave:StartBlock) sayfasındaki örnekle birlikte

```lua
Test myawesomestring
```

- [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/IRestore:StartBlock
