Map voting
#5

Quote:
Originally Posted by Abagail
Посмотреть сообщение
e.g:

pawn Код:
if(zombifiedvotes > unityvotes)
{
    // more votes
}

if(zombifiedvotes >= unityvotes)
{
    // equal or more than unity votes
}

if(zombifiedvotes == unityvotes)
{
    // same amount of votes
}

if(zombifiedvotes < unityvotes)
{
    // less than unityvotes
}

if(zombifiedvotes <= unityvotes)
{
    // less or equal to
}
Simple math functions should work if there are only two variables.
There will be a way more.
Reply


Messages In This Thread
Map voting - by Ghazal - 26.05.2015, 20:35
Re: Map voting - by Ghazal - 27.05.2015, 12:11
Re: Map voting - by Ghazal - 27.05.2015, 16:12
Re: Map voting - by Abagail - 27.05.2015, 16:18
Re: Map voting - by Ghazal - 27.05.2015, 16:53
Re: Map voting - by Luis- - 27.05.2015, 17:16
Re: Map voting - by Ghazal - 27.05.2015, 17:18
Re: Map voting - by Luis- - 27.05.2015, 17:48
Re: Map voting - by Ghazal - 27.05.2015, 17:49
Re: Map voting - by Ghazal - 29.05.2015, 04:56

Forum Jump:


Users browsing this thread: 1 Guest(s)