Posts: 38
Threads: 9
Joined: Mar 2013
Reputation:
0
Hi all i have a problem i dont know to to conect mysql date base and i didnt understand eny thig from tuto i need someone helpme i will add hem in host account to work in i use california gamemode , ty
Posts: 152
Threads: 6
Joined: Apr 2013
Reputation:
0
firstly u need a mysql db.
then you have to connect it to the script using username, pwd and address
Posts: 38
Threads: 9
Joined: Mar 2013
Reputation:
0
rellay i tryed to do all that before but i didnt understand eny thing about that i can add someone with add someone in my host account thene he can do every thing
Posts: 38
Threads: 9
Joined: Mar 2013
Reputation:
0
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);
}
Posts: 152
Threads: 6
Joined: Apr 2013
Reputation:
0
change Host, user, dbname and password.
is it that hard? u should probably start with basic script with dini
Posts: 38
Threads: 9
Joined: Mar 2013
Reputation:
0
ITS CALIFORNIA GAMEMODE its not my i didnt understand eny thing in this database...