Need help with /heal
#2

If I have read correctly you don't have checker is player health over 99 during healing. You only have check before healing starts so if his health is lower than 99 before healing he will heal him forever. You can use Timer to check player's health every few seconds and if his health go over 99 it stops with healing. BUT too often times uses too much CPU and will cause massive lag. My suggestion for you is to use public OnPlayerUpdate(playerid)
Reply


Messages In This Thread
Need help with /heal (HelpStep and health > 99.0) didnt works - by nescha - 09.07.2011, 11:23
Re: Need help with /heal - by [MG]Dimi - 09.07.2011, 13:01
Re: Need help with /heal - by nescha - 09.07.2011, 13:47
Re: Need help with /heal - by =WoR=Varth - 09.07.2011, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)