Cedry2k Posted July 18, 2018 Share Posted July 18, 2018 Bun deci, folosesc gamemode burned si Asi vrea gen sa fac un sistem de restart dar sa nu poata da kick la jucatorii. Filip 1 Link to comment Share on other sites More sharing options...
Matt Posted July 18, 2018 Share Posted July 18, 2018 Nu poti restarta server-ul fara sa dai afara jucatorii de pe el. Respecta si vei fi respectat. BigInt Pawn: Pacman C++: Snake C++: Minesweeper C++: mattbb.cash leaks.ro Link to comment Share on other sites More sharing options...
Kepe Posted July 18, 2018 Share Posted July 18, 2018 Adaugi comanda: CMD:restartnone(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first."); if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 6) { ShowPlayerDialog(playerid, DIALOG_GMX, DIALOG_STYLE_MSGBOX, "Server Restart", "Please confirm whether you are positive that you wish to initiate a server restart?", "Yes", "No"); } else return SendClientMessage(playerid, COLOR_LIGHTGREEN3, AdminOnly); } return 1; } Cauti: SelFac[playerid] = 0; si dupa ultimul } adaugi: if(dialogid == DIALOG_GMX) { if(response) { SendClientMessageToAll(COLOR_YELLOW, "---- SERVER RESTART ----"); ABroadCast(COLOR_WHITE, "({804040}AdminStaff{FFFFFF}) Restarting timer activated.", 1); SendClientMessageToAll(COLOR_RED2, "The server will be restarted in 10 seconds."); foreach(new x : Player) { Update(x, pPayDayx); Update(x, pPayCheckx); Update(x, pFpunishx); Update(x, pBank); Update(x, pCashx); Update(x, pRP); Update(x, pJailTimex); Update(x, pLevelx); } iGMXTick = 10; iGMXTimer = SetTimer("restartTimer", 1000, true); new text1[128]; format(text1, sizeof(text1), "Admin %s initiated a server restart timer.", PlayerInfo[playerid][pNormalName]); } else if(!response) { SendClientMessage(playerid, COLOR_GREY, "Restart attempt canned."); } return 1; } Link to comment Share on other sites More sharing options...
Administrator Leonard Posted July 18, 2018 Administrator Share Posted July 18, 2018 Practic nu ai cum sa dai restart la un server fara sa dai kick jucatorilor online. Matt 1 www.liberty.mp Link to comment Share on other sites More sharing options...
Matt Posted July 18, 2018 Share Posted July 18, 2018 Baiatul nu a cerut o comanda de restart... Respecta si vei fi respectat. BigInt Pawn: Pacman C++: Snake C++: Minesweeper C++: mattbb.cash leaks.ro Link to comment Share on other sites More sharing options...
Cedry2k Posted July 20, 2018 Author Share Posted July 20, 2018 Stiam ceva de la gamemode-ul postat de hurdock nu iti dadea afara jucatorii are el un gm de la 0 Link to comment Share on other sites More sharing options...
Administrator Leonard Posted July 20, 2018 Administrator Share Posted July 20, 2018 Stiam ceva de la gamemode-ul postat de hurdock nu iti dadea afara jucatorii are el un gm de la 0 E imposibil. www.liberty.mp Link to comment Share on other sites More sharing options...
Cosmin123456 Posted July 20, 2018 Share Posted July 20, 2018 Cred ca de comanda asta ai nevoie CMD:restartfarakick(playerid,params[]) return SCMTA(COLOR_WARNING, "Serverul a fost restartat cu succes !"); Link to comment Share on other sites More sharing options...
Cedry2k Posted July 22, 2018 Author Share Posted July 22, 2018 si da restart la server fara sa dea kick? la jucatorii Link to comment Share on other sites More sharing options...
Matt Posted July 22, 2018 Share Posted July 22, 2018 si da restart la server fara sa dea kick? la jucatorii Nu. E imposibil sa restartezi server-ul fara sa dai afara jucatorii de pe el. Respecta si vei fi respectat. BigInt Pawn: Pacman C++: Snake C++: Minesweeper C++: mattbb.cash leaks.ro Link to comment Share on other sites More sharing options...
Recommended Posts