Posts: 1,498
Threads: 101
Joined: Feb 2013
Reputation:
0
check ongamemodeinit show the codes
Posts: 6
Threads: 2
Joined: Jan 2013
Reputation:
0
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;
}
Posts: 1,498
Threads: 101
Joined: Feb 2013
Reputation:
0
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
Posts: 6
Threads: 2
Joined: Jan 2013
Reputation:
0
Actually.. I have another problem now.... i start the game, it connects but after while it just keeps on reconnecting
Posts: 6
Threads: 2
Joined: Jan 2013
Reputation:
0
do you have skype so i can talk to you on there?