[Include] S32GPS - Create a GPS location with just one line!
#2

Basic, I don't see any difference from:
pawn Code:
new playerSetGps[MAX_PLAYERS];


SetPlayerCheckpoint(playerid, X, Y, Z, Size);
playerSetGps[playerid]=1;

public OnPlayerEnterCheckpoint(playerid)
{
   if(playerSetGps[playerid])
   {
        playerSetGps[playerid]=0;
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid, -1, "You have reached your destination!");
    return 1;
   }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)