06.09.2013, 22:37
Bem eu estou tentando entrar na RCON do meu servidor e quando eu logo , aparece que eu fui banido por ser admin RCON , tem como eu retirar esses bans que leva quando loga na RCON? obrigado.
public OnRconLoginAttempt(ip[], password[], success){if(success){new pip[16];for(new i=0; i<MAX_PLAYERS; i++){GetPlayerIp(i, pip, sizeof(pip));if(!strcmp(ip, pip, true)){ClearChatbox(i, 100);SendClientMessage(i, COLOR_YELLOW, "Vocк foi banido por tentar logar na RCON!");SendClientMessage(i, COLOR_YELLOW, "Nгo terб direito a revisгo de ban!");
getdate(year, month, day);gettime(hour,minute);format(gstring, 128, "%s foi banido por ser Admin Rcon [%d/%d/%d - %d:%d]",PlayerName(i),day, month, year,hour, minute);fdplog(gstring);SBan(i, "Admin Rcon", "Homem_Aranha");break;}}}return true;}
stock IPlog(playerid){new PlayerIP[17];GetPlayerIp(playerid,PlayerIP, sizeof(PlayerIP));getdate(year, month, day);gettime(hour,minute);format(gstring, sizeof(gstring), "[%d/%d/%d - %d:%d] IP: %s - %s[%d]\n", day, month, year, hour, minute, PlayerIP, PlayerName(playerid), playerid);new File:hFile;hFile = fopen("Logs/IP.log", io_append);fwrite(hFile, gstring);fclose(hFile);}
stock AdminLog(string[]){new File:hFile;hFile = fopen("Logs/AdmTeste.log", io_append);fwrite(hFile, string);fclose(hFile);return true;}
stock LideresLog(string[]){new entry[128];format(entry, sizeof(entry), "%s\n",string);new File:hFile;hFile = fopen("Logs/Lideres.log", io_append);fwrite(hFile, entry);fclose(hFile);return true;}
stock AChatLog(string[]){new entry[128];format(entry, sizeof(entry), "%s\n",string);new File:hFile;hFile = fopen("Logs/AChat.log", io_append);fwrite(hFile, entry);fclose(hFile);return true;}
stock AComandosLog(string[]){new entry[128];format(entry, sizeof(entry), "%s\n",string);new File:hFile;hFile = fopen("Logs/ComandosAdmin.log", io_append);fwrite(hFile, entry);fclose(hFile);return true;}
forward DateProp(playerid);