27.05.2014, 17:15
you shouldn't set the health back to 100, lets say the player has 20hp and he quickly uses the atm to gain 100hp.
you should use something called https://sampwiki.blast.hk/wiki/GetPVarFloat to store the HP and then use https://sampwiki.blast.hk/wiki/SetPVarFloat.
you should use something called https://sampwiki.blast.hk/wiki/GetPVarFloat to store the HP and then use https://sampwiki.blast.hk/wiki/SetPVarFloat.