Skip to main content

v1.3.8

  • Added validation of vehicle keys before saving, prevents null or invalid entries from being written to vehiclekeys.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, tries vehiclekeys.json, then backup, then empty table.
  • Improved AddKey function 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