PedClient

setPedWetnessEnabledThisFrame

SET_PED_WETNESS_ENABLED_THIS_FRAME0xB5485E4907B53019

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

SignatureJavaScript
setPedWetnessEnabledThisFrame(ped: Ped): void
SignatureLua
setPedWetnessEnabledThisFrame(ped: Ped)

Usage

JavaScript
setPedWetnessEnabledThisFrame(ped);
Lua
setPedWetnessEnabledThisFrame(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

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.

combined with setPedWetnessHeight(), this native makes the ped drenched in water up to the height specified in the other function

Reference

Namespace
Ped PED
In the game
void SET_PED_WETNESS_ENABLED_THIS_FRAME(Ped ped)
Hash
0xB5485E4907B53019

Open in the interactive natives reference