[BUG] setPlayeHealth(playerid,100) set 0 hp
Posted: March 1st, 2019, 10:27 am
Description:
Function setPlayeHealth(playerid,100) set 0 hp, only 200 value works. 150 is half hp, and under 100 = kill.
Reproducible:
Always
What you were doing when the bug happened:
Someone say with function to setting Armour bugged the same like here
Function setPlayeHealth(playerid,100) set 0 hp, only 200 value works. 150 is half hp, and under 100 = kill.
Reproducible:
Always
What you were doing when the bug happened:
Code: Select all
function onPlayerSpawned(playerid)
setPlayeHealth(playerid, 100)
end
registerEvent("onPlayerSpawned", "onPlayerSpawn")