Checkpoint Issue
#2

pawn Код:
if(Player[playerid][Checkpoint] == 101) //Start with this
            {
                DisablePlayerCheckpoint(playerid);
                SetPlayerCheckpoint(playerid, -2057.6838,-2484.4604,30.5933, 4);
                Player[playerid][Checkpoint] = 102; //You set it to checkpoint 102 here
            }
           
            if(Player[playerid][Checkpoint] == 102) //So it's going to call this and all of the others at the same time
            {
                DisablePlayerCheckpoint(playerid);
                SetPlayerCheckpoint(playerid, -1928.8069,-2608.4351,43.4179, 4);
                Player[playerid][Checkpoint] = 103;
            }
Use else if on the statements or just use return under where you set the variables.
Reply


Messages In This Thread
Checkpoint Issue - by nmader - 18.09.2012, 19:42
Re: Checkpoint Issue - by [HiC]TheKiller - 18.09.2012, 21:41
Re: Checkpoint Issue - by Vince - 18.09.2012, 23:21

Forum Jump:


Users browsing this thread: 1 Guest(s)