04.09.2010, 18:08
get players spawned then see who is the last one spawned(alive). do you understand?
like do a function like: SpawnedPlayers[playerid] = 1; on onplayerspawn
then on onplayerdeath SpawnedPlayers[playerid] = 0;
then make a custom callback that will see who is still alive and if there is only one, do like "player has won the race" and then make the race ends and another start
like do a function like: SpawnedPlayers[playerid] = 1; on onplayerspawn
then on onplayerdeath SpawnedPlayers[playerid] = 0;
then make a custom callback that will see who is still alive and if there is only one, do like "player has won the race" and then make the race ends and another start