I am creating a Gang RP / 100K Or Die server so I am wanting to increase the max stamina so players can sprint longer but not wanting to provide them infinite stamina.
I see a lot of guides for infinite stamina but nothing for upping the stamina percentage.
So would this be correct? By the looks of it, this seems right but I am wondering if there’s more to it!
I am testing in-game but doesn’t seem to increase it
That’s not right at all lol, don’t copy the retval stuff etc - all you need to do is SetPlayerStamina(PlayedPedId(), 100.0)
The .0 at the end is because it’s a float value type according to the reference
EDIT: IDK what the actual max value is, 100.0 is off the top of my head - best try a few lol