Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

2.6.0

Compare
Choose a tag to compare
@LukeWasTakenn LukeWasTakenn released this 25 Mar 17:12
· 52 commits to master since this release
438bfb6

The changes for this update have been done by @StuxxyOfficial, thank you so much!

Features

  • Added a last_garage column to use for Config.RestoreVehicles and Config.SplitGarages.
  • Added a config option for locking the vehicle's doors on spawn.

Refactor

  • Now using separate get and set functions for vehicle props - This will be changed to use ox_lib when the UI branch gets merged for it.
  • Vehicle data is stored in a statebag and applied on change.
  • Fuel is now saved in the health column.
  • Changed data types for garage and last_garage to VARCHAR(40).

Fixes

  • Fixed vehicle props/plate/health being set incorrectly or failing to set.
  • Fixed livery and extra's not being saved correctly.
  • Fixed blown up vehicles not appearing in the impound. if vehicle does exist but is blown up, the impound will delete the blown up one when a player checks the impound.
  • Fixed an issue where paying with bank in impound would cause errors.

Notes

Since there was a new column added in this update make sure you add it to your owned_vehicles table.

You can use the following query:

ALTER TABLE `owned_vehicles` ADD COLUMN `last_garage` VARCHAR(40) DEFAULT NULL;