21.05.2020, 14:40
No need to initialize random values within each case. Also the brackets are useless there.
pawn Code:
new rand = random(5);
switch(rand)
{
case 0:
{
}
case 1:
{
}
case 2:
{
}
case 3:
{
}
case 4:
{
}
}