Jump to content

Featured Replies

Posted

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?

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...