Auryn Posted August 1, 2012 Posted August 1, 2012 (edited) I made a healer with time lapse before to be able to heal again. The problem is that one of em' discovered that once he is got healed, he just has to log off and log back on to bypass the countting and heal again. Fore exemple, for a player with a base level inferior of 13, i'm using : Checking : if(@healtimer > gettimetick(2)) goto L_Time; At heal : set @healtimer, gettimetick(2) + 20 Does soemeone has a solution ? Edited August 1, 2012 by Auryn Quote
Euphy Posted August 1, 2012 Posted August 1, 2012 Use a permanent variable instead of a temporary one, i.e. healtimer instead of @healtimer. The reason most people use temporary timers is because (1) it's usually a short period of time so relogs wouldn't matter, and (2) there's a limit to how many permanent character variables you can set. To work around (2), you can have the NPC delete the variable after healing: // heal, etc. set healtimer,0; Quote
Question
Auryn
I made a healer with time lapse before to be able to heal again.
The problem is that one of em' discovered that once he is got healed, he just has to log off and log back on to bypass the countting and heal again.
Fore exemple, for a player with a base level inferior of 13, i'm using :
Checking :
At heal :
Does soemeone has a solution ?
Edited by Auryn2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.