RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_PLAYER_PED_WATER_DEPTH

_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 float

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details