# CLuaLocomotion:SetDesiredSpeed

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

```lua
CLuaLocomotion:SetDesiredSpeed( number speed = 0 )
```

## Açıklama

NextBot'un verilen hızda hareket etmesi için, [CLuaLocomotion:Approach](https://gmod.tr/wiki/CLuaLocomotion:Approach) her çağrıldığında ne kadar hareket etmesi gerektiğini ayarlar.

Varsayılan değer 0'dır. Bu, eğer bu değer ayarlanmadıysa botun hareket etmeyeceği anlamına gelir.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **speed** = 0: Yeni istenen hız

- [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/CLuaLocomotion:SetDesiredSpeed
