Unban of players
#9

Why don't you create administration filterscript instead using the /rcon ban ?

look using dcmd

Код:
dcmd_unbanip(playerid,params[]) {
	if(PlayerData[playerid][Level] >= 3 || IsPlayerAdmin(playerid))
	{
	new adminname[MAX_PLAYER_NAME];
	GetPlayerName(playerid,adminname,sizeof(adminname));
	if(!strlen(params)) return msg(playerid,"Correct usage : /unbanip <IP>");
	new string[76];
	format(string,sizeof(string),"unbanip %s",params);
	SendRconCommand("string");
	printf("%s(ID:%d) used the command unbanip and unbanned ip %s",adminname,playerid,params);
	}
	return 1;
}
Reply


Messages In This Thread
Unban of players - by Master_FM - 04.09.2009, 10:39
Re: Unban of players - by Calgon - 04.09.2009, 10:47
Re: Unban of players - by Master_FM - 04.09.2009, 10:56
Re: Unban of players - by Butilka - 04.09.2009, 11:40
Re: Unban of players - by Master_FM - 04.09.2009, 11:44
Re: Unban of players - by Butilka - 04.09.2009, 11:48
Re: Unban of players - by Master_FM - 04.09.2009, 11:52
Re: Unban of players - by Butilka - 04.09.2009, 11:53
Re: Unban of players - by The_Tough - 04.09.2009, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)