27.05.2015, 16:18
e.g:
Simple math functions should work if there are only two variables.
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
}