21/04/2021 18:50 
	
	
	Estou fazendo um pequeno sistema que seria o /report [ID] [MOTIVO], mas n sei mandar somente para administradores!
Código PHP:
CMD:report(playerid, params[])
{
    new ID, PlayerName[MAX_PLAYER_NAME], ReportadoName[MAX_PLAYER_NAME], Motivo[126], ADM, String[400];
    if(sscanf(params, "ds", ID, Motivo)) return SendClientMessage(playerid, 0xFF230AFF, "{FF0000}[Erro | CMC] {FFFFFF}Você digitou o comando errado!");
    if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xFF230AFF, "{FF0000}[Erro | CMC] {FFFFFF}O ID digitado não esta no servidor!");
    if(ID == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "{FF0000}[Erro | CMC] {FFFFFF}ID invalido!");
    
    GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
    GetPlayerName(ID, ReportadoName, sizeof(ReportadoName));
    
    format(String, sizeof(String), "{FF4500}[Report | CMC] {FFFFFF}O player [{CDC1C5}%s{FFFFFF}] reportou o player [{FF4500}%s{FFFFFF}]! {FF4500}[Motivo: %s]!", PlayerName, ReportadoName, Motivo);
    ADM = PlayerAdmin[playerid][pAdmin] >= 2;
    SendClientMessage(ADM, -1, String);
    return 1;
} 
+d 1 ano de conhecimento em pawno!
