race stops when everyone dies?
#1

ok, so maybe your racing and you all die.

but the last person to dies wins the race?

i know it all sounds really complex but is there a way to do it?!
Reply
#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
#3

no, i dont understand
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)