30.11.2011, 12:27
pawn Code:
for(new i = 0; i < MAX_PLAYERS; i++)
{
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2])
if(IsPlayerInRangeOfPoint(i, 10, pos[0], pos[1], pos[2])
{
SetPlayerHealth(i, 100);
SetPlayerArmour(i, 100);
}
}