05.06.2016, 14:31
Код:
[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;
}