13.02.2017, 23:01
Ban list
--------
Loaded: samp.ban
--------
Loaded: samp.ban
Quote:
CMD:unban(playerid, params[]) { new string[64],ip[32]; if(pInfo[playerid][pAdmin] >= 1) { if(sscanf(params, "s[32]", ip)) return SendClientMessage(playerid, F_COLOR_WHITE ,"Usage:{0080FF} /unban [ip]"); format(string,sizeof(string),"You Have Successfully Unbanip: {FF0000}%s",ip); SendClientMessageToAll( F_COLOR_WHITE , string); SendRconCommand(string); SendRconCommand("reloadbans"); pInfo[playerid][pBanned] = 0; } return 1; } |