# navmesh.CreateNavLadder

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

```lua
CNavLadder navmesh.CreateNavLadder( Vector top, Vector bottom, number width, Vector dir, number maxHeightAboveTopArea = 0 )
```

## Açıklama

Yeni bir [CNavLadder](https://gmod.tr/wiki/CNavLadder) oluşturur.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **top**: Merdivenin en üst konumu.
2. [Vector](https://gmod.tr/wiki/Vector) **bottom**: Merdivenin en alt konumu.
3. [number](https://gmod.tr/wiki/number) **width**: Yeni merdiven için genişlik.
4. [Vector](https://gmod.tr/wiki/Vector) **dir**: Merdivenin hangi yöne bakması gerektiğini belirten yön vektörü. Lütfen merdivenlerin sadece 4 ana yöne bakabileceğini unutmayın - KUZEY, GÜNEY, BATI, DOĞU.
5. [number](https://gmod.tr/wiki/number) **maxHeightAboveTopArea** = 0: Eğer 0'dan büyükse, yeni oluşturulan merdiven önceden var olan nav alanlarına otomatik olarak bağlanırken merdivenin tepesinin en yakın [CNavArea](https://gmod.tr/wiki/CNavArea)'ya ne kadar ayarlanabileceğini sınırlar.

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

1. [CNavLadder](https://gmod.tr/wiki/CNavLadder): Yeni [CNavLadder](https://gmod.tr/wiki/CNavLadder) veya herhangi bir nedenle başarısız olursa [nil](https://gmod.tr/wiki/nil).

- [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/navmesh.CreateNavLadder
