20.08.2012, 00:20
You can make the teleport using SetPlayerPos. (obviously herp-derp)
Create a new variable which will get the player's completion of the race.
new RaceStatuss[MAX_PLAYERS];
Once the player teleports there, show him the race CP with SetPlayerRaceCheckpoint and set the RaceStatuss[playerid] to 1.
Under OnPlayerEnterRaceCheckpoint(playerid) check if the RaceStatuss[playerid] is equal to 1. If it is, show him the next CP.
Create a new variable which will get the player's completion of the race.
new RaceStatuss[MAX_PLAYERS];
Once the player teleports there, show him the race CP with SetPlayerRaceCheckpoint and set the RaceStatuss[playerid] to 1.
Under OnPlayerEnterRaceCheckpoint(playerid) check if the RaceStatuss[playerid] is equal to 1. If it is, show him the next CP.