Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!strcmp(cmd, "/gmx", true))
- {
- if(!IsPlayerConnected(playerid)) return 1;
- if (IsAdmin(playerid, 6)) {
- for(new i = 0; i < MAX_REAL; ++i) {
- if(!IsPlayerConnected(i)) return 1;
- SendClientMessage(i, COLOR_LIGHTRED, "ADVANCED: O nosso servidor está reiniciando, voltaremos em trinta segundos.");
- OnPlayerUpdateEx(i);
- gPlayerLogged[i] = 0;
- if (playerid != i) Kick(i);
- }
- }
- SendClientMessage(playerid, COR_ESPECIAL, "* Todos os jogadores removidos, reiniciando.");
- SendRconCommand("gmx");
- }
- else return SendClientMessage(playerid, COLOR_LIGHTRED, "Sem permissão.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement