checkpoint discussion
#3

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
You have to use arrays.

At top:
pawn Код:
new Checkpoint[MAX_PLAYERS];
pawn Код:
SetPlayerCheckPoint(stuff);
Checkpoint[playerid] = 1;
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(Checkpoint[playerid] == 1)
    {
        // stuff
        PlayerInfo[playerid][Checkpoint] = 0;
    }
    return 1;
}
well isnt there another way without arrays or vars or enums?
Reply


Messages In This Thread
checkpoint discussion - by dark_clown - 27.11.2010, 09:55
Re: checkpoint discussion - by Jochemd - 27.11.2010, 09:57
Re: checkpoint discussion - by dark_clown - 27.11.2010, 10:00
Re: checkpoint discussion - by Jochemd - 27.11.2010, 10:02
Re: checkpoint discussion - by dark_clown - 27.11.2010, 10:03
Re: checkpoint discussion - by Jochemd - 27.11.2010, 10:04
Re: checkpoint discussion - by iggy1 - 27.11.2010, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)