Map voting (+rep)
#8

Quote:
Originally Posted by Marco_Valentine
Посмотреть сообщение
Yeah, that would work but i still need to know how to determin which has more votes at the end
Here a newbie code;
if(map1 > map2) { // pick map1 }
else if(map2 > map1) { // pick map2 }
else if(map1 == map2) { // revote }

Try something alike that.
Reply


Messages In This Thread
Map voting (+rep) - by Marco_Valentine - 12.03.2012, 07:40
Re: Map voting (+rep) - by Faisal_khan - 12.03.2012, 09:39
Re: Map voting (+rep) - by Marco_Valentine - 12.03.2012, 09:59
Re: Map voting (+rep) - by Faisal_khan - 12.03.2012, 10:03
Re: Map voting (+rep) - by Marco_Valentine - 12.03.2012, 10:13
Re: Map voting (+rep) - by Infamous - 12.03.2012, 10:49
Re: Map voting (+rep) - by Marco_Valentine - 12.03.2012, 21:26
Re: Map voting (+rep) - by Mike_Peterson - 12.03.2012, 21:31
Re: Map voting (+rep) - by Marco_Valentine - 12.03.2012, 21:37
Re: Map voting (+rep) - by Marco_Valentine - 12.03.2012, 21:53

Forum Jump:


Users browsing this thread: 2 Guest(s)