Loading garages on player loaded event

About

There's an option to either load all garages data on player loaded event. It might be beneficial if you want to apply some timings to await the load until player is loaded.

Setting

To use parked states headover to /shared/config.lua and set:

Config.LoadGaragesOnEvent = true 

Additionally, you can change the garages startup event to the one you're using:

Config.GaragesStartupEvent = 'esx:playerLoaded'

Last updated