Ranking Players
#2

Create a global variable such as "win = 0;" then in the final checkpoint create a switch:

pawn Код:
switch(win)
            {
                case 0:
                {
                    win++;
                                        //player has won the race
                }
                case 1:
                {
                    win++;
                                        //player is second
                }
                case 2:
                {
                    win++;
                                        //player is third
                }
And so on for the others
Reply


Messages In This Thread
Ranking Players - by Max_Andolini - 25.01.2015, 18:33
Re: Ranking Players - by ReshiramZekrom - 25.01.2015, 21:52
Re: Ranking Players - by Max_Andolini - 26.01.2015, 06:30
Re: Ranking Players - by dominik523 - 26.01.2015, 08:30
Re: Ranking Players - by Max_Andolini - 26.01.2015, 09:33
Re: Ranking Players - by ReshiramZekrom - 26.01.2015, 12:53

Forum Jump:


Users browsing this thread: 1 Guest(s)