
player.ini
[stamina]
...ok
hud.ini
[hud]
....ok
playerscript.s
SetAttribute("Stamina",GetAttribute("Stamina")+1);
Hud no up...


This won't work, cuz it sets the PAWN'S "Stamina" attribute, you should specify the name of the entity you wish to change it's attribute, so in this case it would be:SetAttribute("Stamina",GetAttribute("Stamina")+1);
Code: Select all
SetAttribute("Stamina",GetAttribute("Stamina")+1, "Player");