Quote:
Originally Posted by buburuzu19
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:
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"
Then connect each other.
Is this possible ? If i am wrong , how to do then?
|
well, actually i am not good at advanced MySQL but as far as i know yes, you can save your forum details using MySQL and the you can add it in your script.... like Project Reality has done!!
Sorry i am not able to help you out with it but i just made a confidence that you idea is not wrong, anyone senior will help you!