SA-MP Forums Archive
Script Help! - 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 Help! (/showthread.php?tid=417840)



Script Help! - Ased - 22.02.2013

When ever i start up my server with the script running i cant get through the login like i doesnt show the login and there are options like spawn and if i click them nothing happens.. plase help. Thanks


Re: Script Help! - Yves - 22.02.2013

check ongamemodeinit show the codes


Re: Script Help! - Ased - 22.02.2013

public OnGameModeInit()
{
SetGameModeText(MODE_NAME);
#if defined debug
mysql_debug(1);
#else
mysql_debug(0);
#endif
enable_mutex(false);
g_mysql_handle = mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_DATABASE ,MYSQL_PASSWORD);
Command_SetDeniedReturn( false );
DisableInteriorEnterExits();
EnableStuntBonusForAll(0);
ShowPlayerMarkers(0);
ShowNameTags(1);
SetNameTagDrawDistance(10.0);
ManualVehicleEngineAndLights();
acOnGameModeInit();
jobsOnGameModeInit();
mappingOnGameModeInit();
adminOnGameModeInit();
businessOnGameModeInit();
VehOnGameModeInit();
RPOnGameModeInit();
interiorsOnGameModeInit();
familiesOnGameModeInit(); //calls pointsOnGameModeInit() after families are loaded
VIPOnGameModeInit();
accessoriesOnGameModeInit();
turfsOnGameModeInit();
housesOnGameModeInit();
factionsOnGameModeInit();
animsOnGameModeInit();
govOnGameModeInit();
camsOnGameModeInit();
lockersOnGameModeInit();
seatbeltOnGameModeInit();
AntiCBugOnGameModeInit();
accountOnGameModeInit();
helpOnGameModeInit();
loggingOnGameModeInit();
npcOnGameModeInit();
//donatorMappingOnGameModeInit();
plantsOnGameModeInit();
return 1;
}


Re: Script Help! - Yves - 22.02.2013

cant see anything wrong there i had this issue before with my old script it might be something to do with ur register system did you edit anything on there ?



EDIT Make sure you have your Mysql setup working


Re: Script Help! - Ased - 22.02.2013

Actually.. I have another problem now.... i start the game, it connects but after while it just keeps on reconnecting


Re: Script Help! - Ased - 22.02.2013

I havent edited anything


Re: Script Help! - Ased - 22.02.2013

do you have skype so i can talk to you on there?