28.06.2012, 20:14
You could do something like:
pawn Код:
switch(paint)
{
case 1: { SOMETHING HERE }
case 2: { SOMETHING HERE }
case 3: { SOMETHING HERE }
}