Randoms
#1

pawn Код:
new decide = random(2);
        if(decide == 0);
        {
            return EVENT_TEAM_RED;
        }
        if(decide == 1);
        {
            return EVENT_TEAM_BLUE;
        }
This returns two errors

if(decide == 0); << error:Empty Statement
if(decide == 1); << error:Empty Statement

Why?
Reply


Messages In This Thread
Randoms - by Rob_Maate - 02.12.2011, 11:40
Re: Randoms - by Sinc - 02.12.2011, 11:49
Re: Randoms - by Kostas' - 02.12.2011, 11:49
Re: Randoms - by Sinc - 02.12.2011, 11:53
Re: Randoms - by Rob_Maate - 02.12.2011, 12:08
Re: Randoms - by titanak - 02.12.2011, 12:11
Re: Randoms - by Rob_Maate - 02.12.2011, 12:39
Re: Randoms - by Sinc - 02.12.2011, 12:47
Re: Randoms - by Dark_Kostas - 02.12.2011, 13:31
Re: Randoms - by Sinc - 02.12.2011, 13:43

Forum Jump:


Users browsing this thread: 4 Guest(s)