30.06.2016, 01:25
You forgot a bracket at the beginning of the switch statement.
pawn Код:
if(IsPlayerConnected(i))
{
new sendername[MAX_PLAYER_NAME];
switch(PlayerInfo[i][pAdminLevel])
{ //Just add this.
case 1: format(admtext, 64, "{10F441}Beta Tester");
case 2: format(admtext, 64, "{10F441}Moderator");
case 3: format(admtext, 64, "{33AA33}Administrator");
case 4: format(admtext, 64, "{FF0000}Senior Administrator");
case 1337: format(admtext, 64, "{FF0000}Head Administrator");
default: continue;
}