PedClient

setPedWetnessHeight

SET_PED_WETNESS_HEIGHT0x44CB6447D2571AA0

The GTA V native SET_PED_WETNESS_HEIGHT of the PED namespace, as LS:MP client scripts call it: the global function setPedWetnessHeight, in JavaScript and in Lua.

SignatureJavaScript
setPedWetnessHeight(ped: Ped, height: number): void
SignatureLua
setPedWetnessHeight(ped: Ped, height: number)

Usage

JavaScript
setPedWetnessHeight(ped, height);
Lua
setPedWetnessHeight(ped, height)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
heightfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

It adds the wetness level to the player clothing/outfit. As if player just got out from water surface.

Reference

Namespace
Ped PED
In the game
void SET_PED_WETNESS_HEIGHT(Ped ped, float height)
Hash
0x44CB6447D2571AA0

Open in the interactive natives reference