Kicks comand
#1

How to make a

/kicks command,

Send a message like /reports

%s (%d) Kicked %s for %s.
%s (%d) Kicked %s for %s.
%s (%d) Kicked %s for %s.



pawn Код:
dcmd_reports(playerid,params[]) {
    #pragma unused params
    if(PlayerInfo[playerid][Level] >= 1) {
        new ReportCount;
        for(new i = 1; i < MAX_REPORTS; i++)
        {
            if(strcmp( Reports[i], "<none>", true) != 0) { ReportCount++; SendClientMessage(playerid,COLOR_WHITE,Reports[i]); }
        }
        if(ReportCount == 0) SendClientMessage(playerid,COLOR_WHITE,"There have been no reports");
    } else SendClientMessage(playerid,red,"ERROR: Necesitas ser nivel 1 para usar este comando!");
    return 1;
}
Reply


Messages In This Thread
Kicks comand - by Super_Panda - 05.12.2011, 20:35
Re: Kicks comand - by VanHalen9898 - 05.12.2011, 20:39
Respuesta: Kicks comand - by Super_Panda - 05.12.2011, 20:41
Re: Kicks comand - by grand.Theft.Otto - 05.12.2011, 23:00
Respuesta: Kicks comand - by Super_Panda - 05.12.2011, 23:05
Re: Respuesta: Kicks comand - by Thresholdold - 06.12.2011, 00:28
Re: Kicks comand - by grand.Theft.Otto - 06.12.2011, 02:10
Re: Kicks comand - by VanHalen9898 - 06.12.2011, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)