31.07.2016, 12:59
this what i found in gamemode
public OnGameModeInit()
{
mysql_log(LOG_ERROR | LOG_WARNING, LOG_TYPE_HTML);
if(fexist("LOCALHOST"))
{
koneksi = mysql_connect(HOST, USER, DBNAME, PASSWORD);
// forum = mysql_connect(HOST, USER, FORUMDB, PASSWORD);
}
else
{
koneksi = mysql_connect(HOST2, USER2, DBNAME2, PASSWORD2);
// forum = mysql_connect(HOST2, USER2, FORUMDB, PASSWORD2);
}
public OnGameModeInit()
{
mysql_log(LOG_ERROR | LOG_WARNING, LOG_TYPE_HTML);
if(fexist("LOCALHOST"))
{
koneksi = mysql_connect(HOST, USER, DBNAME, PASSWORD);
// forum = mysql_connect(HOST, USER, FORUMDB, PASSWORD);
}
else
{
koneksi = mysql_connect(HOST2, USER2, DBNAME2, PASSWORD2);
// forum = mysql_connect(HOST2, USER2, FORUMDB, PASSWORD2);
}