please help with /unban
#2

Well I have made this for my own server but it unbans the players ip
Код:
dcmd_unban(playerid,params[]){
{
    new ip[32], dformat[64];
    if(APlayerData[playerid][PlayerLevel] < 3) return SendClientMessage(playerid,0xff0000ff,"You have to be admin LVL 3 at least");
    if(sscanf(params,"s[32]",ip)) return SendClientMessage(playerid,0xff0000ff,"USAGE: /unbanip [ip]");
    format(dformat,sizeof dformat,"unbanip %s",ip);
    SendRconCommand(dformat);
    return 1;
}
The code is ZCMD i've made it DCMD not sure if it works but give it a try
Reply


Messages In This Thread
please help with /unban - by HitterHitman - 13.12.2013, 11:51
Re: please help with /unban - by Hybris - 13.12.2013, 11:58
Re: please help with /unban - by HitterHitman - 13.12.2013, 12:01
Re: please help with /unban - by HitterHitman - 15.12.2013, 12:08
Re: please help with /unban - by Kells - 15.12.2013, 12:16
Re: please help with /unban - by HitterHitman - 15.12.2013, 12:25
Re: please help with /unban - by HitterHitman - 15.12.2013, 12:29
Re: please help with /unban - by HitterHitman - 15.12.2013, 13:33
Re: please help with /unban - by Dawno - 15.12.2013, 13:35
Re: please help with /unban - by HitterHitman - 15.12.2013, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)