Lloyd Logan Posted August 4, 2012 Share 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? Link to comment
AMARANT Posted August 4, 2012 Share Posted August 4, 2012 These functions might be useful for you: getPlayerAccount setAccountData getAccountData All data goes to "internal.db" SQL database. Link to comment
Lloyd Logan Posted August 4, 2012 Author Share 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 Link to comment
Castillo Posted August 4, 2012 Share Posted August 4, 2012 The database is already on the server. Link to comment
mjau Posted August 4, 2012 Share Posted August 4, 2012 It is located in the deathmatch folder Link to comment
Jaysds1 Posted August 4, 2012 Share Posted August 4, 2012 It is located in the deathmatch folder it's located where your mtaserver.conf file is. Link to comment
Lloyd Logan Posted August 5, 2012 Author Share 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! Link to comment
myonlake Posted August 5, 2012 Share Posted August 5, 2012 As AMARANT told you already... getPlayerAccount setAccountData getAccountData 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