[Help] Adding in an auto-crack system, more space for text.
#10

Quote:
Originally Posted by DiiP
Посмотреть сообщение
GetPlayerHealth(playerid,health);
if(health <= 29)
{
ApplyAnimationEx(playerid, "CRACK", "crckdeth2", 4.0, 0, 1, 1, 1, 1);
return 1;
}


- Here you go sir, no bugs.
That isn't much efficient, it will reapply the animation ~60 times/second per player...
You should use an array to check if he has already done the animation.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)