https://github.com/smokingplaya/gm_datastorages
💖 Data Storages like in JavaScript.
https://github.com/smokingplaya/gm_datastorages
data dev gmod javascript lua
Last synced: 2 months ago
JSON representation
💖 Data Storages like in JavaScript.
- Host: GitHub
- URL: https://github.com/smokingplaya/gm_datastorages
- Owner: smokingplaya
- License: gpl-3.0
- Created: 2024-01-30T09:49:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T08:37:02.000Z (over 2 years ago)
- Last Synced: 2025-02-05T01:48:39.030Z (over 1 year ago)
- Topics: data, dev, gmod, javascript, lua
- Language: Lua
- Homepage: https://autumngmod.ru/
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📚 Garry's Mod Data Storages
[Data Storages](https://javascript.info/localstorage) like in JavaScript.
Example:
```lua
store:New("localStorage") -- creates localStorage table in lua global table
localStorage.test_key = 666 -- set value to localStorage, and this value will be save in SQLite gmod database
print(localStorage.test_key) -- checks that the value has been stored in the table
```