Quote:
Originally Posted by Kostas'
Try this
pawn Код:
// Your_Callback() { // Code(Optional. If you have) new decide = random(2); switch(decide) { case 0: { return EVENT_TEAM_RED; } case 1: { return EVENT_TEAM_BLUE; } } // Rest return 1; }
|
Take a look at code optimization. You have a singular type statement yet you group it as a compound statement.