Checkpoint problems
#6

Quote:
Originally Posted by NathNathii
Посмотреть сообщение
Where to put that?
pawn Код:
new bool: pCP[MAX_PLAYERS] = false;
pawn Код:
SetPlayerCheckpoint(playerid, Float: x, Float: y, Float: z, Float: size);
pCP[playerid] = true;
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(pCP[playerid] == true)
    {
        // Do something here.
        pCP[playerid] = false;
    }
    return 1;
}
Reply


Messages In This Thread
Checkpoint problems - by NathNathii - 12.04.2013, 21:16
Re: Checkpoint problems - by zDivine - 12.04.2013, 21:18
Re: Checkpoint problems - by NathNathii - 12.04.2013, 21:19
Re: Checkpoint problems - by zDivine - 12.04.2013, 21:20
Re: Checkpoint problems - by NathNathii - 12.04.2013, 21:22
Re: Checkpoint problems - by zDivine - 12.04.2013, 21:28

Forum Jump:


Users browsing this thread: 1 Guest(s)