Habe ich!
ocmd:aw(playerid,params[])
{
if(SpielerInfo[playerid][pAdmin] <= 0)
{
return SendClientMessage(playerid, COLOR_GREY,"Fehler: Du bist kein Administrator");
}
new text[1024], string[1024] ,splayerid;
sscanf(params,"us[1024]",splayerid,text))
{
return SendClientMessage(playerid, COLOR_YELLOW,"Hinweis: /aw [playerid][Text]");
}
else
{
new player[MAX_PLAYER_NAME];
GetPlayerName(playerid,player,sizeof(player));
format(string,sizeof(string),"(( %s: %s ))",player,text);
SendClientMessage(splayerid,COLOR_YELLOW, string);
format(string,sizeof(string),"(( %s ))",text);
SendClientMessage(playerid,COLOR_YELLOW, string);
}
return 1;
}