10.02.2015, 16:20
Pretty much like you did, you just did a few mistakes in using a switch, this is how you should use it:
pawn Код:
switch(random(3))
{
case 0:
case 1:
case 2:
case 3:
}