Mode restarts? - 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: Mode restarts? (
/showthread.php?tid=261901)
Mode restarts? -
[NWA]Hannes - 15.06.2011
Hello, Ive recently made this script but when I go in game to try it the mode seems to be restarting all the time. I decided to debug it and this is what i got:
Quote:
GameModeInit successfull.
Number of vehicle models: 15
Incoming connecting from 127.0.0.1
OnPlayerConnect successfull.
(Restart here probably)
GameModeInit successfull.
Number of vehicle models: 15
Incoming connecting from 127.0.0.1
OnPlayerConnect successfull.
(Restart again)
|
I dont even have time to write in my password...
Anyone knows whats wrong?
Re: Mode restarts? -
Stigg - 15.06.2011
A snippet of your code might help to see what's wrong.
That's your best bet.
Re: Mode restarts? -
park4bmx - 15.06.2011
there might me a function in your code that crashes the game mode so it then restart

So like
Stigg said some code would be good
Re: Mode restarts? -
[NWA]Hannes - 15.06.2011
Nvm found the problem, I accidently removed a file wich was loaded at start. Working now