/unban Command
#1

Im trying to make this /unban command

pawn Код:
dcmd_unban(playerid,params[]) {
    if(PlayerInfo[playerid][Level] > 4)
    {
    new adminname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,adminname,sizeof(adminname));
    if(!strlen(params)) return SendClientMessage(playerid,PINK,"Correct usage : /unban <IP>");
    new string[76];
    format(string,sizeof(string),"unbanip %s",params);
    SendRconCommand("unbanip");
    printf("%s(ID:%d) used the command unbanip and unbanned ip %s",adminname,playerid,params);
    SendClientMessage(playerid,PINK,"Unbanned.");
    }
    return 1;
}
[B]But it will not work I really need help with this, thank you
Reply


Messages In This Thread
/unban Command - by California_ - 26.08.2012, 15:46
Re: /unban Command - by detter - 26.08.2012, 15:49
Re: /unban Command - by California_ - 26.08.2012, 16:07
Re: /unban Command - by sampreader - 26.08.2012, 16:10
Re: /unban Command - by Guitar - 26.08.2012, 17:44
Re: /unban Command - by DeadLy™ - 26.08.2012, 17:47
Re: /unban Command - by Dan. - 26.08.2012, 17:57

Forum Jump:


Users browsing this thread: 4 Guest(s)