{"hash":"0x314C5465195F3B30","ns":"PED","name":"_SET_META_PED_WEARINESS","slug":"_SET_META_PED_WEARINESS","official":false,"named":true,"luaName":"SetMetaPedWeariness","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weariness","type":"float"}],"summary":"Sets ped eye redness, weariness: 0.f to 1.f","descriptions":[{"source":"alloc8or","format":"text","body":"Sets ped eye redness, weariness: 0.f to 1.f"},{"source":"femga","format":"pre","body":"    //0x314C5465195F3B30    -- _SET_PED_WEARINESS(ped_id,weariness)  -- make reddish eyes\nweariness from 0.0 to 1.0\n    -------------------------------------------------------------------"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","femga"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_META_PED_WEARINESS","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_META_PED_WEARINESS.md","snippets":{"lua":"SetMetaPedWeariness(ped, weariness)","luaInvoke":"Citizen.InvokeNative(0x314C5465195F3B30, ped, weariness)","js":"SetMetaPedWeariness(ped, weariness);","jsInvoke":"Citizen.invokeNative('0x314C5465195F3B30', ped, weariness + 0.0000001);","csharp":"Function.Call((Hash)0x314C5465195F3B30, ped, weariness);","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."]}}