Help, voting crap
#1

Ok, i want to know how to define if the number of people that voted yes is more than the amount of players that are online.

So far i have it so it counts the number of players online and it counts how many players vote yes.

What do i do with the two?

This is what i've come up with so far

Код:
if(Yes > (PlayersOnline){
But that wont work. I need it to check if there are more votes than there are half the player online D:
Reply
#2

pawn Код:
If(Yes > (PlayersOnline / 2)){
Reply
#3

thanks bro
Reply
#4

error 076: syntax error in the expression, or invalid function call
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)