#5

PHP код:
CMD:unban(playeridparams[]) 

new 
ip[20]; 
if(
PlayerInfo[playerid][pAdmin] == 0) return SendClientMessage(playeridCOLOR_RED"You can't use this command"); 
if(
sscanf(params"s[20]"ip)) return SendClientMessage(playeridCOLOR_WHITE"Usage: /unban [ip]"); 
new 
string[40];
format(string,sizeof(string),"unbanip %s",ip);
SendRconCommand(string);
SendRconCommand("reloadbans");
return 
1

Reply


Messages In This Thread
Ban - by nezo2001 - 04.01.2015, 18:57
Re: Ban - by Lawbringer - 04.01.2015, 19:19
Re: Ban - by nezo2001 - 04.01.2015, 19:23
Re: Ban - by Boot - 04.01.2015, 19:24
Re: Ban - by Mexanizm93 - 04.01.2015, 19:25
Re: Ban - by Fungi - 04.01.2015, 19:26
Re: Ban - by Boot - 04.01.2015, 19:30
Re: Ban - by Evocator - 04.01.2015, 19:38
Re: Ban - by nezo2001 - 04.01.2015, 19:38

Forum Jump:


Users browsing this thread: 2 Guest(s)