Random Teams
#4

For 1st way instead of your line "new randomteam=.." use
pawn Код:
new randomteam = (TeamAmount2 > TeamAmount1 ? 1:2);
And not forget to set both counters to 0 when starting event

UPD: you should check if rSpawn >=, not ==, 'coz it can cause out of bounds error
Reply


Messages In This Thread
Random Teams - by Slepur - 01.09.2013, 22:36
Re: Random Teams - by Borg - 01.09.2013, 22:48
Re: Random Teams - by Slepur - 01.09.2013, 23:56
Re: Random Teams - by Borg - 02.09.2013, 00:13
Re: Random Teams - by admantis - 02.09.2013, 04:52

Forum Jump:


Users browsing this thread: 1 Guest(s)