PHP код:
CMD:a(playerid, params[])
{
new text[128];
if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid, COLOR_MESSAGES[6], "No Autorizado!");
if(!sscanf(params, "s[128]", text))
{
format(text, sizeof(text), "%s %s %s: %s",LOGO_STAFF, AdminsRangosChat[PlayerInfo[playerid][Admin]], GetName(playerid), text);
AdminChatStream(COLOR_MESSAGES[3], text);
}
else SendClientMessage(playerid, COLOR_MESSAGES[6], "Uso: /A [Texto]");
return 1;
}