unban
#9

Hey, try this:

if(strcmp(cmd, "/unban", true) == 0)
{
if(PlayerInfo[playerid][Level] >= 4)
{
new IP,tmp[285],string[285];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED, "Usage: /unbanip <IP>");
IP = strval(tmp);
format(string,sizeof(string),"unbanip %s",IP);
SendRconCommand(string);
} else {
Msg(playerid,COLOR_RED,"* You can not use this command !");
}
return 1;
}
Reply


Messages In This Thread
unban - by dcrgn - 09.01.2011, 17:24
Re: unban - by Vi3t102 - 09.01.2011, 17:25
AW: unban - by Kmitska - 09.01.2011, 17:26
Re: unban - by dcrgn - 09.01.2011, 18:09
Re: unban - by iiLiamii - 09.01.2011, 18:26
Re: unban - by dcrgn - 09.01.2011, 18:42
Re: unban - by iiLiamii - 09.01.2011, 18:52
Re: unban - by Kwarde - 09.01.2011, 19:04
AW: unban - by Kmitska - 09.01.2011, 19:07
Re: unban - by dcrgn - 10.01.2011, 05:33

Forum Jump:


Users browsing this thread: 1 Guest(s)