Ersteinmal gibst hier nen Pawn BBCode
ocmd:a(playerid,params[])
{
new text[128];
if(!isPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,ROT,"Du bist kein Admin.");
if(sscanf(params,"s",text))return SendClientMessage(playerid,ROT,"/a [text]");
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerAdminRang(playerid);
format(text,sizeof(text),"%s {FFFFFF}%s: %s",SpielerName(playerid),text);
SendClientMessage(i, GRAU, text);
return 1;
}
}
return 1;
}