13.12.2013, 11:58
(
Последний раз редактировалось Hybris; 21.12.2013 в 21:39.
)
Well I have made this for my own server but it unbans the players ip
The code is ZCMD i've made it DCMD not sure if it works but give it a try
Код:
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; }