Welf Posted July 27, 2020 Share Posted July 27, 2020 Hi guys! If someone can guide me on how to proceed: I have a dealership mod, in addition to it I have vehicle fuel mods and another one that counts the Mileage traveled, however, I wanted this data to be saved in the dealership that owns the purchased vehicle panel, that way when the player leaves the server or remove the car from the map, both KM and gasoline are saved! If someone can explain it to me! Thanks! Link to comment
nikitafloy Posted August 3, 2020 Share Posted August 3, 2020 Collections data in elementData type and save. On spawn - get elementData and apply changes from ur scripts. Use exports, triggers if u need. Link to comment
MTA Team 0xCiBeR Posted August 3, 2020 MTA Team Share Posted August 3, 2020 You will also need some sort of saving system. SQLite or MySQL are good options. 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