30.11.2011, 12:29
pawn Code:
if(strcmp(cmdtext,"/vidap",true)==0)
{
new Float:POS[3];
GetPlayerPos(playerid,POS[0],POS[1],POS[2]);
for(new i = 0, x = GetMaxPlayers(); i != x; ++i)
{
if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,30,POS[0],POS[1],POS[2]))
{
SetPlayerHealth(i,100);
}
}
return 1;
}