Hi, everyone! This is the ‘Spawn Vehicle by Item’ feature. I’ll also include a picture of the config.lua file. This feature also allows players to delete vehicles, so any player can do that as well. Don’t worry, the vehicle isn’t deleted from the database. After a vehicle is deleted, the player automatically leaves the vehicle a few seconds before it’s deleted.
If you have the ‘cd_garage,’ the keys work as well, so you can lock/unlock the vehicle. The vehicle isn’t saved in the database; it’s only used while in use. There are checks in place to ensure it doesn’t spawn where there isn’t enough space.
All notification’s text is changeable.
Have job’s required and grades.
Have a great day, everyone! Take care!
If you don’t have a ‘cd_garage’ it works, just you can’t lock/unlock vehicle.
ESX VERSION.
–DOWNLOAD UPDATE v1.0.5 FROM GITHUB–
small update: 1.0.1
Added the into config.lua :
Config.ChangePlateName = “ABC”
Config.RandomPlateCharacters = “ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789”
small update: 1.0.2
Added the into config.lua :
Config.EnableCooldown = true
Config.SpawnCooldown = 120
Config.CooldownMessage = “You must wait %s seconds before spawning another vehicle.”
small update: 1.0.4
Added the into config.lua :
Config.EnableUnlockControl = false
Config.UnlockKey = 182
Config.LockedNotification = “Vehicle locked.”
Config.UnlockedNotification = “Vehicle unlocked.”
Config.CdGarageKeys = true
small update: 1.0.5
Added the into server.lua :
“YOUR_DISCORD_WEBHOOK_URL”