18.11.2012, 01:39
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1985.3361,-1282.2993,23.9740))
{
MyPickupShow[playerid] = 1;// you may do it without this but then have bug`s on multiple points
SetPlayerCheckpoint(playerid, 1985.3361,-1282.2993,23.9740, 2.0);
return 1;
}
else
{
if(MyPickupShow[playerid] == 1)// you may do it without this but then have bug`s on multiple points
{
DisablePlayerCheckpoint(playerid);
MyPickupShow[playerid] = 0;
}
}
return 1;
}
new MyPickupShow[MAX_PLAYERS];

