RedM Natives

GET_PED_WETNESS_HEIGHT

Hash0x2545ADE0
Runtime nameGetPedWetnessHeight
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

float GET_PED_WETNESS_HEIGHT(Ped ped);

Parameters

NameTypeDescription
pedPed

The target ped

Returns float — Returns current ped wetness height level

Usage

Lua
local retval = GetPedWetnessHeight(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x2545ade0, ped, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetPedWetnessHeight(ped);

// by hash
const retval = Citizen.invokeNative('0x2545ade0', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x2545ade0, ped);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.