racecheckpoint help!
#2

Make a per-player variable (checkpointid[MAX_PLAYERS], for example) in which you'll store the player's current checkpoint.
Whenever a player passes trough a checkpoint, increment the var with 1. You can then use it to set the next checkpoint accordingly.

pawn Код:
switch(checkpointid)
{
    // Add CP's
    case 1: SetPlayerCheckpoint(...);
    case 2: SetPlayerCheckpoint(...);
    case 3: SetPlayerCheckpoint(...);
}
Reply


Messages In This Thread
racecheckpoint help! - by FerrariII - 19.11.2010, 18:59
Re: racecheckpoint help! - by Vince - 19.11.2010, 19:06
Re: racecheckpoint help! - by FerrariII - 19.11.2010, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)