Mysql Help!
#1

Can Anyone Help With MySql How I will Save Player Information,pname,isplayeradmin,Score,Money on mysql?i have mysql server.But i dont no where to put.

i know this codes

#define MySQL_HOST "localhost" //This will connect you to your local host
#define MySQL_USER "root" //default phpMyAdmin username
#define MySQL_PASS " " //default phpMyAdmin password is nothing, until you change it!
// -------> IMPORTANT LINE < -----------//
#define MySQL_DB "sa-mp" //Now here you have to put your database's name.

but how will i save accounts? pass,username,score,money?
Reply
#2

You look like starting to script, i don't suggest you to use MySQL...
Dini for a starter, and that is the one i use too, cuz MySQL is kinda confusing in SA:MP.
Reply
#3

if you want to make your script easier please follow this link:

https://sampforum.blast.hk/showthread.php?tid=606930

it also has a example script `gamemode`

and install XAMPP

i hope it helped you for easy way how to script in mysql
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)