# GM:VehicleMove

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

```lua
GM:VehicleMove( Player ply, Vehicle veh, CMoveData mv )
```

> **NOT:** Bu hook [tahminidir (predicted)](https://gmod.tr/wiki/Prediction). Bu, tek oyunculu modda, İstemci (Client) alanında çağrılmayacağı anlamına gelir.

## Açıklama

Bir araç sürerken çağrılır. Bu hook, tıpkı [GM:Move](https://gmod.tr/wiki/GM:Move) gibi çalışır.

Bu hook, [GM:Move](https://gmod.tr/wiki/GM:Move)'dan önce çağrılır ve [GM:PlayerTick](https://gmod.tr/wiki/GM:PlayerTick) çağrılmadığında çağrılacaktır.

## Argümanlar

1. [Player](https://gmod.tr/wiki/Player) **ply**: Aracı süren oyuncu
2. [Vehicle](https://gmod.tr/wiki/Vehicle) **veh**: Sürülen araç
3. [CMoveData](https://gmod.tr/wiki/CMoveData) **mv**: Hareket verisi

### Örnek

Temel oyun modunun 3. şahıs araç kamerası seçeneğini devre dışı bırakır.

```lua
hook.Add( "VehicleMove", "DisableVehicle3rdPerson", function( ply, vehicle, mv )
	if ( mv:KeyPressed( IN_DUCK ) && vehicle.SetThirdPersonMode ) then
		vehicle:SetThirdPersonMode( false )
		return true -- 3. şahıs modunu ayarlayan GM:VehicleMove'u engeller
	end
end )
```

- [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/GM:VehicleMove
