Hey everyone,
I’m currently trying to figure out how to increase a player’s max health and stamina in RedM.
I’ve been experimenting with the native functions related to attributes, and here’s what I’ve tested so far:
Natives.SetAttributeBaseRank(ped, 0, value); // Health Rank ?
Natives.SetAttributeBaseRank(ped, 1, value); // Stamina (0–10 scale?)
Natives.SetAttributePoints(ped, 0, value); // Health points ?
Natives.SetAttributePoints(ped, 1, value); // Stamina points ?
Natives.SetAttributeBonusRank(ped, 1, value); // Additional bonus! ok
Natives.SetAttributeCoreValue(ped, 0, value); // Core Health
But no matter what I set here, the actual max health and stamina values don’t seem to increase visibly in-game.
Any help or insight would be appreciated. Thanks!