Config.lua

Preview

Config = {}

Config.Framework = 'esx' -- esx or qb

------------------------------------------------------------
----------------------- Geral ------------------------------
------------------------------------------------------------

Config.MeasurementSystem = 'kmh' -- 'kmh' or 'mph'

Config.StopCarToSave = true -- true or false | Is it mandatory to stop the car to allow it to be stored?

Config.Safezones = {
    {x = 424.7508, y = -1022.5021, z = 28.8984},       
    {x = 1002.88, y = 41.94, z = 59.83},               
    {x = 79.5750, y = 3628.2063, z = 39.7093},                                    
    -- you can add more
}
Config.SafezoneRadius = 100

Config.ProgressBar = 'mythic_progbar'-- progressbar or mythic_progbar
Config.ProgressBarLabel = 'Spawning...' -- label for progress

Config.RemoveItemWhenUse = true

Config.Key = {
    SaveCar = 47,
}

------------------------------------------------------------
----------------------- Config Times -----------------------
------------------------------------------------------------

Config.SpawnTime = 1000 -- 1000 = 1 second


------------------------------------------------------------
----------------------- Transalations ----------------------
------------------------------------------------------------

Config.Translations = {
    car_stored = 'Vehicle Stored',
    car_needStop = 'You have to stop the car to save it',  
    safezone = 'Cannot obtain vehicles in this area',  
    inside_car = 'You cannot use this item inside the vehicle', 
}


------------------------------------------------------------
-------------- Implement your Notify System ----------------
------------------------------------------------------------

-- You can change here for your notification system
function Notify(msg)
	
	exports['mythic_notify']:SendAlert('inform', msg)
	--TriggerEvent('codem-notification:Create', msg, 'info', nil, 5000)
	--exports['Roda_Notifications']:showNotify(msg, 'info', 5000)
	--exports['okokNotify']:Alert("Craft", msg, 5000, 'info')
	--exports['mythic_notify']:SendAlert('inform', msg)

end

Config.Debug = true -- DEV Test

Last updated

Was this helpful?