DarkByte Posted January 2, 2017 Share Posted January 2, 2017 How is possible to data in a serial. If so show me a simple example.. Link to comment
Mr.Loki Posted January 2, 2017 Share Posted January 2, 2017 Well you can't save data to a serial unless you use a database. SQL or XML. A simpler way of saving data to a player would be: setAccountData getAccountData Link to comment
DarkByte Posted January 2, 2017 Author Share Posted January 2, 2017 Can you help me with mySQL im not so experienced with SQL.. Link to comment
Miika Posted January 2, 2017 Share Posted January 2, 2017 (edited) I would use SQLite instead of MySQL. MySQL requires 'hosted' database but SQLite just creates database file in your resource and saves all data in there. Use those functions to get started: dbConnect dbQuery dbPoll https://wiki.multitheftauto.com/wiki/Server_Scripting_Functions#SQL_function Also when using dbQuery, check out this: http://www.w3schools.com/sql/sql_datatypes.asp Edited January 2, 2017 by Miika822 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now