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