06.12.2013, 21:31
Acho q й isso que vocк quer
pawn Код:
CMD:av(playerid,params[])
{
if(Player[playerid][admin] <= 0) return SendClientMessage(playerid,azul,"Comando so para admins!");
new a[170], _@Str[128], NomePlayer[20];
GetPlayerName(playerid, NomePlayer, 20);
format(a,sizeof a,"Admin %s: {FFFFFF}%s",GetName(playerid),params);
SendClientMessageToAll(rosa,a);
for(new i; i < MAX_PLAYERS; i++
if(IsPlayerConnected(i)) {
if(Player[i][admin] > 0) {
format(_@Str, 128, "o Admin %s usou o Comando /Av", NomePlayer(playerid));
SendClientMessage(i, -1, _@Str);
}
}
}
return 1;
}