Help With dcmd_unban
#8

Ahh , sorry i have edited my post , that was through fast typing re-try that
pawn Код:
dcmd_unban(playerid,params[])
{
    if(!strlen(params)) return SendClientMessage(playerid,red,"Syntax Error: /unban <IP>");//syntax if he typed nothing in params.
    new ip[16],string[68];//declaring the ip and a new string.
    format(string,sizeof(string),"unbanip %s",ip);//formating Rcon command
    SendRconCommand(string);//sending the command
    SendRconCommand("reloadbans");//reloading ban list.
    return 1;
}
Reply


Messages In This Thread
Help With dcmd_unban - by HitterHitman - 24.12.2013, 11:36
Re: Help With dcmd_unban - by HitterHitman - 24.12.2013, 11:52
Re: Help With dcmd_unban - by Sk1lleD - 24.12.2013, 12:04
Re: Help With dcmd_unban - by HitterHitman - 24.12.2013, 12:07
Re: Help With dcmd_unban - by SilentSoul - 24.12.2013, 12:19
Re: Help With dcmd_unban - by Sk1lleD - 24.12.2013, 12:23
Re: Help With dcmd_unban - by HitterHitman - 24.12.2013, 12:24
Re: Help With dcmd_unban - by SilentSoul - 24.12.2013, 12:27
Re: Help With dcmd_unban - by HitterHitman - 24.12.2013, 12:28
Re: Help With dcmd_unban - by Kells - 24.12.2013, 12:34

Forum Jump:


Users browsing this thread: 5 Guest(s)