race stops when everyone dies?
#2

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
Reply


Messages In This Thread
race stops when everyone dies? - by WillyP - 04.09.2010, 17:50
Re: race stops when everyone dies? - by pmk1 - 04.09.2010, 18:08
Re: race stops when everyone dies? - by WillyP - 04.09.2010, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)