GET_PED_WETNESS_HEIGHT
Signature
float GET_PED_WETNESS_HEIGHT(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The target ped |
Returns float — Returns current ped wetness height level
Usage
local retval = GetPedWetnessHeight(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2545ade0, ped, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetPedWetnessHeight(ped);
// by hash
const retval = Citizen.invokeNative('0x2545ade0', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x2545ade0, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.