SA-MP Forums Archive
Gamemode causing server to restart everytime player connects. - 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)
+--- Thread: Gamemode causing server to restart everytime player connects. (/showthread.php?tid=330247)



Gamemode causing server to restart everytime player connects. - introzen - 31.03.2012

Hey, I've got a gamemode that causes the server to restart everytime a player attempts to connect.

NOTE: This gamemode works fine on my local server but when I try to run it at my hosted ServerFFS Server, it causes it to crash. Though the hosted server works fine with other gamemodes...

pawn Код:
public OnPlayerConnect(playerid)
{
    OldAnim[playerid] = 0;
    SwimTime[playerid] = 0;
    return 1;
}



Re: Gamemode causing server to restart everytime player connects. - Seven_of_Nine - 31.03.2012

I think you should post the whole gamemode because only those can't set a server to crash..