OnPlayerUpdate
#2

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];
Reply


Messages In This Thread
OnPlayerUpdate - by Socan - 18.11.2012, 01:31
Re: OnPlayerUpdate - by Azazelo - 18.11.2012, 01:39
Re: OnPlayerUpdate - by Socan - 18.11.2012, 01:47
Re: OnPlayerUpdate - by cessil - 18.11.2012, 03:23
Re: OnPlayerUpdate - by Plovix - 18.11.2012, 08:08
Re: OnPlayerUpdate - by cessil - 18.11.2012, 08:26

Forum Jump:


Users browsing this thread: 1 Guest(s)