SlickyLynx 0 Posted April 18, 2022 Share Posted April 18, 2022 Hello modding friends, considering I have no experience or idea what I am doing, I would like to reduce and raise my characters sweat level. I found this function but idk how to use it : So can anyone give an advice and tell me how I can do that ingame or with a script? Quote Link to comment Share on other sites More sharing options...
HughJanus 244 Posted April 19, 2022 Share Posted April 19, 2022 You need to get the player ped and then set the sweat level for it. This is how you get the ped: Ped playerPed = PLAYER::PLAYER_PED_ID(); This is how I suppose you set the sweat level (although I dont know which values work): PED::SET_PED_SWEAT(playerPed, 1.0f); You can check out the code of PDO here - maybe it helps you understand stuff: https://github.com/HJHughJanus/PedDamageOverhaulRDR2/blob/master/PDO/PedDamageOverhaul.cpp 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.