SA-MP Forums Archive
Need all callbacks or my 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: Need all callbacks or my server crash? (/showthread.php?tid=328563)



Need all callbacks or my server crash? - Admigo - 25.03.2012

Heey all,

Why my script need all callbacks in my gamemode or the server will crash?
How can i fix this?

Thanks Admigo


Re: Need all callbacks or my server crash? - kacper55331 - 25.03.2012

show server_log


Re: Need all callbacks or my server crash? - Admigo - 25.03.2012

Quote:
Originally Posted by kacper55331
Посмотреть сообщение
show server_log
Server Log:
Код:
[15:34:08] [debug] Server crashed while executing dm.amx
[15:34:08] [debug] Backtrace (most recent call first):
[15:34:08] [debug] #0  ???????? in OnEnterExitModShop () from dm.amx
Then if i add the callback OnEnterExitModShop and run server the server will crash and will ask for the next callback so i need all callbacks.
I never had this problem in my script.
How can i fix this?