Ban System Help! [REP+]
#4

PHP код:
CMD:unbanip(playeridparams[])
{
        if(
PlayerInfo[playerid][Level] >= 2) {
        new
            
ip[48],string[64],String[27];
        if(
sscanf(params"s[48]",ip)) return SendClientMessage(playeridred"USAGE: /unbanip [ip]");
        
format(string,sizeof(string),"unbanip %s",ip);
        
SendRconCommand(string);
        
SendRconCommand("reloadbans");
        
format(Stringsizeof(String),"You Have Unbanned IP: %s"ip);
        
SendClientMessage(playerid, -1String);
        return 
1;
        } else return 
SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");

Try this hope this one work
Reply


Messages In This Thread
Ban System Help! [REP+] - by SecretBoss - 25.02.2015, 13:11
Re: Ban System Help! [REP+] - by Nabster - 25.02.2015, 13:32
Re: Ban System Help! [REP+] - by arlindi - 25.02.2015, 15:04
Re: Ban System Help! [REP+] - by HydraHumza - 25.02.2015, 15:37
Re: Ban System Help! [REP+] - by CalvinC - 25.02.2015, 15:44
Re: Ban System Help! [REP+] - by SecretBoss - 25.02.2015, 16:06
Re: Ban System Help! [REP+] - by CalvinC - 25.02.2015, 16:14
Re: Ban System Help! [REP+] - by SecretBoss - 25.02.2015, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)