Lloyd Logan Posted August 4, 2012 Posted August 4, 2012 How do i save the data of a player who has joined, e.g - current postion, current money, weapons etc, and one other question, easy for you guys! When you use the basic MTA login system, when does all the data go? If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
AMARANT Posted August 4, 2012 Posted August 4, 2012 These functions might be useful for you: getPlayerAccount setAccountData getAccountData All data goes to "internal.db" SQL database.
Lloyd Logan Posted August 4, 2012 Author Posted August 4, 2012 These functions might be useful for you: getPlayerAccount setAccountData getAccountData All data goes to "internal.db" SQL database. Dont have a database If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
Castillo Posted August 4, 2012 Posted August 4, 2012 The database is already on the server. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Jaysds1 Posted August 4, 2012 Posted August 4, 2012 It is located in the deathmatch folder it's located where your mtaserver.conf file is. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Lloyd Logan Posted August 5, 2012 Author Posted August 5, 2012 It is located in the deathmatch folder it's located where your mtaserver.conf file is. Thanks Guys, so how do i save the data! If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE SCOTLAND, my hometown, and the Home of GTA!
myonlake Posted August 5, 2012 Posted August 5, 2012 As AMARANT told you already... getPlayerAccount setAccountData getAccountData If I helped you, please click the like button on the right Thanks!
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