Checkpoint help
#3

Personally, I use:

pawn Код:
new Checkpoint[MAX_PLAYERS];
And I do this:

pawn Код:
cmd(bus, playerid, params[])
{
Checkpoint[playerid] = 1;
return 1;
}
and..

pawn Код:
OnPlayerEnterCheckpoint(playerid)
{
if(Checkpoint[playerid] == 1)
{
//blah
}
else if(Checkpoint[playerid] == 2)
{
//blah
}
//..et cetera
return 1;
}
Reply


Messages In This Thread
Checkpoint help - by samuel_hamza - 21.06.2010, 00:11
Re: Checkpoint help - by titanak - 21.06.2010, 00:27
Re: Checkpoint help - by (.Aztec); - 21.06.2010, 00:31
Re: Checkpoint help - by titanak - 21.06.2010, 00:33
Re: Checkpoint help - by samuel_hamza - 21.06.2010, 00:44
Re: Checkpoint help - by (.Aztec); - 21.06.2010, 00:48
Re: Checkpoint help - by samuel_hamza - 21.06.2010, 00:50

Forum Jump:


Users browsing this thread: 1 Guest(s)