28.01.2011, 16:28
pawn Код:
// somewhere ontop of your script, under the includes.
#define MyHOST "ip" // Server IP
#define MyUSER "root" // change it to a user account for mysql
#define MyPASS "" // Password
#define MyDB "SQLDB" // Database name
// under OnGameModeInit
mysql_init();
mysql_connect(MyHOST, MyUSER , MyPASS, MyDB );
