SA-MP Forums Archive
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)
+--- Thread: Server crash (/showthread.php?tid=346056)



Server crash - Syntax - 27.05.2012

Hello,

I've added some RemoveBuildingForPlayer and CreateDynamicObject under the OnPlayerConnect, after being told to do so, however, when I go ingame, the register and/or login dialog will appear, but then once you're logged in, nothing else appears. None of the tutorial, you cannot go through the slides as you'er supposed to, no text draws or anything, and then if you type something in the chat, the server will crash.

Help?

Regards

Jake.


Re: Server crash - Gangs_Rocks - 27.05.2012

CreateDynamicObject == Under OnGameModeInIt.


Re: Server crash - MP2 - 27.05.2012

Does the server actually crash when you connect, or when you type something? Join and wait about 15 seconds and see if the server crashes, it's not apparent instantly. Then, debug your gamemode: https://sampwiki.blast.hk/wiki/Debugging


Re: Server crash - Syntax - 27.05.2012

The server is crashing once I type something in the chat, then nothing will appear in the chat. I can easily walk around, see all the objects and such perfectly fine, though.


Re: Server crash - MP2 - 27.05.2012

Then, debug your gamemode: https://sampwiki.blast.hk/wiki/Debugging