its a foolish question..but help plz
#1

ok i was browsing through to dowlnload a good samp cnr script i found an extremely well built script.. i want that script but it says somethig bout sql database.. if ur gona reply chage our sql database ifo with yours there so plz tell the steps too... here it is btw

#define SQL_HOST "Your DB Host"
#define SQL_USER "DB Username"
#define SQL_PASS "DB Pass"
#define SQL_DB "DB Name"
- Replace those with your DB Settings.
- Then, Goto the Gamemode Folder, and you will find a .sql file, named cnr.sql (i think).
- Upload that to your MySQL Database.
- Then you can run the script successfully.

i didnt understood these steps help help help
thanks n i promise a +rep
Reply
#2

First of all change SQL_HOST to your Database host.
Secondly, change SQL_USER to your database name.
Thirdly, SQL_PASS to your database password for example #define SQL_PASS "123459"
Fourthly, SQL_DB change it to your Database Name.
Go to your gamemode, you will find a file called .sql name CNR.
Upload that file to your database.
Run the script.
Reply
#3

Basically if you have a host for a server, and want to use this script, you will have to use MySQL. And when you have MYSQL, you will have your own Database (DB) and it will have a username, password and Database name. So when you host your server using MYSQL, you will have those (your username and password) and all you need to do is replace them in the '#define' lines where he says for example "Your DB Host", then just replace that part of the line (in between the speech marks) to the info from your server. I hope this helps!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)