how i make /killall,/kickall,/banall ??
#6

Example:

pawn Код:
command(banall,playerid, params[])
{
     if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,"Not an admin...");
     for(new i = 0; i<MAX_PLAYERS; i++)
     {
          Ban(i);
     }
     return 1;
}
pawn Код:
command(kickall,playerid, params[])
{
     if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,"Not an admin...");
     for(new i = 0; i<MAX_PLAYERS; i++)
     {
          Kick(i);
     }
     return 1;
}
pretty simple...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)