Hallo mein /admins befehl spammt nichts einfach nur Administartoren und Supporter mehr nciht
hier:
if(!strcmp("/admins",cmdtext,true))
{
new buffer[128],string[128];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
switch(GetPVarInt(i,"Adminrang"))
{
case 1: format(buffer,32,"Probe-Supporter");
case 2: format(buffer,32,"Supporter");
case 3: format(buffer,32,"Moderator");
case 4: format(buffer,32,"Super-Moderator");
case 5: format(buffer,32,"Administartor");
case 6: format(buffer,32,"Projektleiter");
}
SendClientMessage(playerid,weis,"Administartoren und Supporter");
format(string,sizeof(string),"%s : %s",buffer,SpielerName(i));
SendClientMessage(playerid,BLAU,string);
}
return 1;
}