Jump to content

help database


spoty

Recommended Posts

hello i have a problem with my drift database

i have a database that saves the best drift last drift and total drift points

but how can i create it that it takes the last saved points and start counting from that points

because how i have it now it only save and load but starts counting from 0

and its just a easy database in .lua

with getAccountData setAccountData and setElementData

Link to comment
  • Moderators

1 thing is confusing me and that is the sql database from the drift folder and the accountdata.

What are you saving in the drift folder and what are you saving at the local mta database?

Because the sql database can save exactly the same as the local mta database, but better with more functionality.

AFAIK the annoying thing about sql is that you have to start it up with a resource, but in this case it is only for this resource.

Link to comment
1 thing is confusing me and that is the sql database from the drift folder and the accountdata.

What are you saving in the drift folder and what are you saving at the local mta database?

Because the sql database can save exactly the same as the local mta database, but better with more functionality.

AFAIK the annoying thing about sql is that you have to start it up with a resource, but in this case it is only for this resource.

in the drift folder i just simply wanne save the drift points

i have da small save script and working fine only it starts counting from 0 evry time

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...