01.01.2012, 05:40
put mysql_start(); in OnGameModeInit and
pawn Код:
public mysql_start()
{
mysql_debug(1);
if (mysql_connect(DBHOST, DBUSER, DBNAME, DBPASS))
{
print("[MYSQL] Connection successful!");
}
else
{
print("[MYSQL] There was an error connecting to the MYSQL server");
IRC_GroupSay(gGroupID, "IRC_Channel", "[MYSQL] There was an error connecting to the MYSQL server");
}
return 1;
}