Compare Switch(random))
#10

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
You can check with an "if" for that.
pawn Код:
switch(random(100))
{
    case 23: if(number == 23) // Code
}
Ok so,

if(number == 23) // Code

Would the word number be my params for CMD:ticket?


so it checks to see if the params of CMD ticket == the case?
Reply


Messages In This Thread
Compare Switch(random)) - by kevin1990 - 10.02.2015, 15:59
Re: Compare Switch(random)) - by CalvinC - 10.02.2015, 16:09
Re: Compare Switch(random)) - by kevin1990 - 10.02.2015, 16:11
Re: Compare Switch(random)) - by Sime30 - 10.02.2015, 16:18
Re: Compare Switch(random)) - by kevin1990 - 10.02.2015, 16:19
Re: Compare Switch(random)) - by CalvinC - 10.02.2015, 16:20
Re: Compare Switch(random)) - by Sime30 - 10.02.2015, 16:21
Re: Compare Switch(random)) - by kevin1990 - 10.02.2015, 16:22
Re: Compare Switch(random)) - by CalvinC - 10.02.2015, 16:25
Re: Compare Switch(random)) - by kevin1990 - 10.02.2015, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)