setPedWetnessEnabledThisFrame
SET_PED_WETNESS_ENABLED_THIS_FRAME0xB5485E4907B53019The 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.
setPedWetnessEnabledThisFrame(ped: Ped): voidsetPedWetnessEnabledThisFrame(ped: Ped)Usage
JavaScript
setPedWetnessEnabledThisFrame(ped);Lua
setPedWetnessEnabledThisFrame(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
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