24.08.2012, 17:10
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 0.1, 1207.0170, -1333.9816, 13.3984))
{
CreateObject(18646, 1207.5631, -1334.1051, 13.5816);
CreateObject(18646, 1206.5031, -1334.1051, 13.5816);
}
else
{
if(IsValidObject(18646, 1207.5631, -1334.1051, 13.5816))
{
DestroyObject(18646);
}
}
return 1;
}