Posts: 171
Threads: 10
Joined: May 2012
Quote:
Originally Posted by Ballu Miaa
Use this one then now.
pawn Код:
public zombtimer(playerid) { new Float:healHP; for(new i=0; i<MAX_PLAYERS_EX; i++) { GetPlayerHealth(i, healHP); if(IsPlayerConnected(i)) { if(IsPlayerInRangeOfPoint(i, 10.0, -1701.426757,684.093688,18.226135)) { if(zombie[i] == 0) { GivePlayerHealth(i,healHP-5); } } } } if(healHP < 20) { if(IsPlayerConnected(i)) { if(zombie[i] == 0) { zombie[i] = 1; } } } return 1; }
|
This was what I was going to post... -__-
And yea, This should work, But if not, Then I don't know what the problem is...
Hope it helps.