SA-MP Forums Archive
Script Donґt load anything... - 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: Script Donґt load anything... (/showthread.php?tid=295377)



Script Donґt load anything... - AirPlus - 06.11.2011

Hi Guys my Script Donґt Load Any Objects or Any Vehicle...
hereґs my OnGameModeinit
Код:
	print("Verbinde zur MySQL Datenbank....");
    mysql_init(LOG_ALL, 1);
    mysql_connect(SQL_HOST, SQL_USER,SQL_PASS, SQL_DATA);
	AntiDeAMX();
	new OnGameModeString[50];
	format(OnGameModeString,sizeof(OnGameModeString),"NYR v.%s",GAMEMODEVERSION);
	SendRconCommand("mapname New York");
	SetGameModeText(OnGameModeString);
	Audio_SetPack("default_pack",true);
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	LoadOnGameModeInit();
when you need another code say it


Re: Script Donґt load anything... - [HiC]TheKiller - 06.11.2011

Use print above every line to determine where the script stops.


AW: Script Donґt load anything... - AirPlus - 06.11.2011

iґve Used Crashdetect heres the error:
[02:37:31] [crashdetect]: gamemodes\NewYorkRoleplay.amx does not contain debug information