v1.3.8
- Added validation of vehicle keys before saving, prevents
nullor invalid entries from being written tovehiclekeys.json. - Added automatic backup file (
vehiclekeys_backup.json), created before every save and used as fallback if the main file gets corrupted. - Added safe load on resource start with
pcall, triesvehiclekeys.json, then backup, then empty table. - Improved
AddKeyfunction to abort cleanly with a logged error instead of leaving partial entries in memory.
Changed files
README.md
config.lua
fxmanifest.lua
server/encrypted.lua
server/functions.lua