_GET_PLAYER_PED_WATER_DEPTH
Returns how deep the water is below the ped (if in water) -1.0f = Not in water 10.0f = Max water depth
PEDBuild 1207
Signature
lua
GetPlayerPedWaterDepth(PlayerPedId())
-- returns floatParameters
| Name | Type | Description |
|---|---|---|
| Ped | — |
Usage
lua
GetPlayerPedWaterDepth(PlayerPedId())Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
