setPedWetnessHeight
SET_PED_WETNESS_HEIGHT0x44CB6447D2571AA0The 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.
setPedWetnessHeight(ped: Ped, height: number): voidsetPedWetnessHeight(ped: Ped, height: number)Usage
JavaScript
setPedWetnessHeight(ped, height);Lua
setPedWetnessHeight(ped, height)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
height | float | number | number |
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