- 0
Problema /serverrestart
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
AndreiM
Salut ! Cand folosesc comanda /serverrestart imi apare timpul cum scade si cand ajunge la 0 secunde ramane asa .
Am incercat sa bag alta comanda ( dar cand intru pe server si o folosesc mi se inchide server-ul)
Daca ma poate ajuta si pe mine cineva, va rog.
https://imgur.com/a/pE0316P
Comanda
CMD:serverrestart(playerid, params[])
{
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login pin.");
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 6)
{
SCM(playerid, COLOR_WHITE, "Ai pornit numaratoarea inversa pentru restartarea serverului");
OOCOff(COLOR_GENANNOUNCE,"A fost pornita numaratoarea inversa pentru restartarea serverului");
serverrestart2 = 30;
}
else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
}
return 1;
}
Edited by AndreiM3 answers to this question
Recommended Posts