SA-MP Forums Archive
[Help]Gamemode and Server Crash - 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: [Help]Gamemode and Server Crash (/showthread.php?tid=113118)



[Help]Gamemode and Server Crash - Tigerbeast11 - 12.12.2009

Why does this always happen? I do "changemode freeroam" and it happens but i cant't spawn and after 10 secs, the server just crashes. What to do? I look in logs, says nothing about server closing down. What to do?


Re: [Help]Gamemode Crash - Tigerbeast11 - 12.12.2009

Also, would this problem be in the script or in the server? All my other scripts work fine but this one crashes and stops the player from spwn....


Could it be cuz of this?

pawn Код:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid)
return 1;
}



Re: [Help]Gamemode Crash - notime - 12.12.2009

Quote:
Originally Posted by Tigerbeast11
Also, would this problem be in the script or in the server? All my other scripts work fine but this one crashes and stops the player from spwn....


Could it be cuz of this?

pawn Код:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid)
return 1;
}
yeah, place the SpawnPlayer at OnPlayerRequestClass


Re: [Help]Gamemode Crash - Tigerbeast11 - 12.12.2009

Could something else also cause this prob?


Re: [Help]Gamemode and Server Crash - Tigerbeast11 - 12.12.2009

What could be causing this problem? I fixed that bug but it still crashes with nothing in the logs.