# GM:OnPlayerHitGround

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

```lua
boolean GM:OnPlayerHitGround( Entity player, boolean inWater, boolean onFloater, number speed )
```

> **NOT:** Bu hook [tahmin edilir](https://gmod.tr/wiki/Prediction) (predicted). Bu, tek oyunculu modda, Client realm'inde **çağrılmayacağı** anlamına gelir.

## Açıklama

Bir oyuncu zıplama veya düşme sonrası yerle temas ettiğinde çağrılır.

## Argümanlar

1. [Entity](https://gmod.tr/wiki/Entity) **player**: Oyuncu
2. [boolean](https://gmod.tr/wiki/boolean) **inWater**: Oyuncu suya mı indi?
3. [boolean](https://gmod.tr/wiki/boolean) **onFloater**: Oyuncu suda yüzen bir nesnenin üzerine mi indi?
4. [number](https://gmod.tr/wiki/number) **speed**: Oyuncunun yere çarpma hızı

## Dönen Değer

1. [boolean](https://gmod.tr/wiki/boolean): Varsayılan eylemi engellemek için true döndürün

### Örnek

Yere çok sert çarpan oyuncuları patlatır.

```lua
hook.Add( "OnPlayerHitGround", "ExplosiveFall", function( ply, inWater, onFloater, speed )
    if speed > 1000 and not inWater then
        local exp = ents.Create( "env_explosion" )
        exp:SetPos( ply:GetPos() )
        exp:Spawn()
        exp:SetKeyValue( "iMagnitude", "0" )
        exp:Fire( "Explode", 0, 0 )

        ply:Kill()
    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:OnPlayerHitGround
