DarkByte Posted January 2, 2017 Posted January 2, 2017 How is possible to data in a serial. If so show me a simple example.. When I hear someone saying Mac is better than PC. w0t?w0t? w0t? Great minds discuss ideas, average minds discuss events and small minds discuss people.
Mr.Loki Posted January 2, 2017 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 [REL]Cinema Experience Beta 2.0 [TUT]Object offsets with OOP. [TUT] Adding a Discord bot to your server. Discord: Loki#7355
DarkByte Posted January 2, 2017 Author Posted January 2, 2017 Can you help me with mySQL im not so experienced with SQL.. When I hear someone saying Mac is better than PC. w0t?w0t? w0t? Great minds discuss ideas, average minds discuss events and small minds discuss people.
Miika Posted January 2, 2017 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 Real motorbike backflip / frontflip script: https://forum.mtasa.com/viewtopic.php?f=108&t=98191
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