[HELP]About MySQL... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]About MySQL... (
/showthread.php?tid=368545)
[HELP]About MySQL... -
Godfather[TR] - 13.08.2012
Hey guys. Ive been made a gamemode, (My Friend made it actually, i was scripting systems etc layout of the server bla bla..)
The Gamemode this one, i wan't to make is NON MySQL Based GameMode. I wan't it get working ONLY by connecting to a MySQL.
How can i do it? guys help!
Also i wan't that my Gamemode work only at MySQL, by connecting to a MySQL
I am very bad at MySQL but i know making table making Database etc bla bla...
I wan't NO any systems which are MySQL Based! just only to make the Gamemode work only by connecting in a specified MySQL Server.
Such like this
==================================
#include <a_mysql>
#define SERVER_NAME "Server Name"
#define SERVER_TIME "13"
#define SERVER_GRAVITY "0.00800"
#define SERVER_MAP "Map name"
#define SERVER_WEBSITE "Website"
#define SQL_HOST "127.0.0.1"
#define SQL_USER "root"
#define SQL_PASS ""
#define SQL_DB "MySQL Database"
==================================
allright, ive been done these, but it seems that even if i don't localize to an MySQL server, it still works, (Between, i know about MySQL connecting disconnecting XAMPP & WAMPSERVER MySQL Service etc, but not Coding etc...)
Please Help Guys!
This is because if my gamemode get's stealed, he/she should NOT be able to use it!
This is what i want so i can in a secure way, buying Host's that is cheap etc bla bla...