value
#3

Switch.
pawn Код:
switch( varname ) {
    case 20, 40, 60, 80, 100, 120: {
        //Your code goes here.
    }
    default: {
        //If it is non of these values.
    }
}
EDIT: I was late.
Reply


Messages In This Thread
value - by Gh0sT_ - 03.08.2011, 19:40
Re: value - by PrawkC - 03.08.2011, 19:42
Re: value - by Mean - 03.08.2011, 19:43
Re: value - by Gh0sT_ - 03.08.2011, 19:44
Re: value - by PrawkC - 03.08.2011, 19:47
Re: value - by Mean - 03.08.2011, 19:50
Re: value - by Toreno - 03.08.2011, 20:07
Re: value - by Gh0sT_ - 03.08.2011, 20:16
Re: value - by Toreno - 03.08.2011, 20:22
Re: value - by Gh0sT_ - 03.08.2011, 20:25

Forum Jump:


Users browsing this thread: 1 Guest(s)