Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssDataStore (datastore)

Category:script
Author(s):notshux, Shux
Downloads:341
Rate:You need to be logged in to vote
Rating:5 (2 Votes)
Description:
Res: DataStore v1.1.1

DataStore allows you to store data (string/table) to a specific key in the database table. All you have to do is enter your database information in settings.lua('sqlite' or 'mysql') and once connected you can use the datastore exported functions to store and/or get data from the db table.
Very useful for beginner developers who lack experience with MySQL/SQLite.

See: https://wiki.multitheftauto.com/wiki/Resource:Datastore

Download latest version | Report

Version history

Version Publish Date Changes
1.1.1 2020-12-23 08:59:46 - Added 'removeData'
- Added a parameter to specify which table you're getting the data from for all functions ( storeData, removeData, getData, getAllData )
- Fixed storeData, getData, getAllData to work more efficiently
- Changed the return value of getAllData, it will now return a numerically indexed table with the values being tables(indexed by 'key' and 'value') of all the data.
Download
1.0.1 2020-02-05 00:04:54 Non-compiled Download