10.06.2015, 05:11
Is this thing possible?
I want to make 2 mysql connections in my gamemode , one with the samp-server database and one with the forum database.
like this:
Then connect each other.
Is this possible ? If i am wrong , how to do then?
I want to make 2 mysql connections in my gamemode , one with the samp-server database and one with the forum database.
like this:
pawn Код:
new static handlesamp;
new static handleforum;
#define mysql_host "127.0.0.1"
#define mysql_user "root"
#define mysql_password "password"
#define mysql_database "sa-mp"
#define mysql_host2 "127.0.0.1"
#define mysql_user2 "root"
#define mysql_password2 "passwordforum"
#mysql_database2 "forum"
Is this possible ? If i am wrong , how to do then?