Gamemode crashes on load - 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: Gamemode crashes on load (
/showthread.php?tid=608835)
Gamemode crashes on load -
Ax3l123 - 05.06.2016
Код:
[17:26:03] [debug] Server crashed while executing new.amx
[17:26:03] [debug] AMX backtrace:
[17:26:03] [debug] #0 native mysql_connect () [61bbdf10] from mysql.DLL
[17:26:03] [debug] #1 00007bb0 in public SSCANF_OnGameModeInit () from new.amx
[17:26:03] [debug] #2 00001f24 in public Itter_OnGameModeInit () from new.amx
[17:26:03] [debug] #3 native CallLocalFunction () [004743b0] from samp-server.exe
[17:26:03] [debug] #4 000014c4 in public ScriptInit_OnGameModeInit () from new.amx
[17:26:03] [debug] #5 00000cd0 in public zcmd_OnGameModeInit () from new.amx
[17:26:03] [debug] #6 native CallLocalFunction () [004743b0] from samp-server.exe
[17:26:03] [debug] #7 00000158 in public OnGameModeInit () from new.amx
PHP код:
public OnGameModeInit()
{
sql = mysql_connect("localhost","root","GM","");
SetGameModeText("New gamemode");
return 1;
}
Re: Gamemode crashes on load -
Skimmer - 05.06.2016
Please stop bumping the thread.
To your question. You're probably forgot to bind mysql plugins or you're using the wrong version.
Re: Gamemode crashes on load -
Ax3l123 - 06.06.2016
Bump