{"hash":"0xF9CFF5BB70E8A2CB","ns":"PED","name":"_SET_PED_WETNESS_AMOUNT","slug":"_SET_PED_WETNESS_AMOUNT","official":false,"named":true,"luaName":"SetPedWetnessAmount","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"amount","type":"float"}],"summary":"To be used with SET_PED_WETNESS_HEIGHT, see R* Scripts","descriptions":[{"source":"alloc8or","format":"text","body":"To be used with SET_PED_WETNESS_HEIGHT, see R* Scripts"},{"source":"vorp","format":"text","body":"only works when you use SET_PED_WETNESS_HEIGHT first , if you do 0.0 (it resets) you need to apply again with SET_PED_WETNESS_HEIGHT to see the wetness effects again"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_WETNESS_AMOUNT","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_WETNESS_AMOUNT.md","snippets":{"lua":"SetPedWetnessAmount(ped, amount)","luaInvoke":"Citizen.InvokeNative(0xF9CFF5BB70E8A2CB, ped, amount)","js":"SetPedWetnessAmount(ped, amount);","jsInvoke":"Citizen.invokeNative('0xF9CFF5BB70E8A2CB', ped, amount + 0.0000001);","csharp":"Function.Call((Hash)0xF9CFF5BB70E8A2CB, ped, amount);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}