Server Restarting - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server Restarting (
/showthread.php?tid=134328)
Server Restarting -
nikola1991 - 16.03.2010
I host server and evrything work but after 2-3 houre sometime maximum 1 day server restart and then i must start again?
can someone help me whit this problem?
Re: Server Restarting -
Jay_ - 16.03.2010
Try contacting the server host. Additionally, you have posted this in the wrong section.
Re: Server Restarting -
[MWR]Blood - 16.03.2010
Is your server hosted from your home?If yes, the problem may be your connection.If your server is hosted from some host like serverffs, then I don't know, contact them.
Re: Server Restarting -
nikola1991 - 16.03.2010
No its not hosted on home server,server is hosted
but when server was on home host i have the same problem and i was thinking problem is conection
but now when server is hosted i got the same problem
i think problem is gamemode
and yes i contact host he say only my host restarting
Re: Server Restarting - [BEP]AcerPilot - 16.03.2010
See if your GameMode have something like this:
Код:
SendRconCommand("gmx");
or like this:
Код:
SendRconCommand("exit");
If yes, it is restarting your server. Delete this.
Re: Server Restarting -
nikola1991 - 16.03.2010
Quote:
Originally Posted by [BEP
GeoPilot ]
See if your GameMode have something like this:
Код:
SendRconCommand("gmx");
or like this:
Код:
SendRconCommand("exit");
If yes, it is restarting your server. Delete this.
|
There is no this comand
Re: Server Restarting -
nikola1991 - 16.03.2010
I think this is the problem
Floating point exception someone know what is this??
Re: Server Restarting -
Dragontree - 21.03.2010
Код:
if (strcmp("/Restart", cmdtext, true, 10) == 0)
{
if(IsPlayerAdmin(playerid) == 0) return SendClientMessage(playerid, 0xAA3333AA, "you are not Admin!");
GameModeExit();
return 1;
}
Have fun
Re: Server Restarting -
YoungMoolaBaby.2010 - 21.03.2010
just go in game in type /gmx
Re: Server Restarting -
YoungMoolaBaby.2010 - 21.03.2010
here is da code
Код:
//----------------------------------[GMX]-----------------------------------------------
if(strcmp(cmd, "/gmx", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
OnPlayerUpdate(playerid);
GameModeExit();
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command !");
}
}
return 1;
}