Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Gamemode crashes on load

$
0
0
Code:

[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 Code:

public OnGameModeInit()
{
    
sql mysql_connect("localhost","root","GM","");
    
SetGameModeText("New gamemode");
    return 
1;



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>