db_query crashes the server - 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: db_query crashes the server (
/showthread.php?tid=277950)
db_query crashes the server -
Lorenc_ - 20.08.2011
Hello, recently coding something I discovered somehow ( Not sure how it happens ) though the db_query may crash the server. I used crashdetect and it printed
Код:
The server has been crashed by native db_query at address c580 in script filterscripts\catinthehat.amx.
and yes it did crash
I tried searching for some fixes, couldn't find any. Does anyone know the cause of this?
Thanks.
---SOLVED---
Due to a char array, crash happened.