Name ban,and IP ban
#7

pawn Код:
if (strcmp(cmdtext, "/banip", true) == 0)
    {

        if(IsPlayerAdmin(playerid))
        {
         new string[200], pname[28];
         GetPlayerName(playerid, pname, sizeof(pname));
         format(string,sizeof(string),"%s banned the Ip %s",pname,cmd);
         SendClientMessageToAll(0xDEEE20FF, string);
         SendRconCommand("banip");

         return 1;
        }
        else
        {
        SendClientMessage(playerid, COLOR_YELLOW, "You are not admin");
        return 1;
        }
    }
Reply


Messages In This Thread
Name ban,and IP ban - by budelis - 02.08.2011, 08:07
Re: Name ban,and IP ban - by Kush - 02.08.2011, 08:41
Re: Name ban,and IP ban - by Godhimself - 02.08.2011, 09:40
Re: Name ban,and IP ban - by budelis - 02.08.2011, 11:29
Re: Name ban,and IP ban - by woot - 02.08.2011, 11:59
Re: Name ban,and IP ban - by budelis - 02.08.2011, 19:12
Respuesta: Name ban,and IP ban - by Alex_Obando - 02.08.2011, 19:38
Re: Respuesta: Name ban,and IP ban - by [MG]Dimi - 02.08.2011, 19:42
Re: Name ban,and IP ban - by budelis - 02.08.2011, 20:01
Re: Name ban,and IP ban - by [MG]Dimi - 02.08.2011, 20:24

Forum Jump:


Users browsing this thread: 3 Guest(s)