Cadburry ScriptsCadburry Scripts

Combat Log, Misc

Quality of life scripts for your FiveM server. Performance optimized resources that install in minutes, with free updates and support that actually answers.

config/shared.lua

lua
Config = Config or {}

---Load ox_lib locales (exposes the global locale() on client and server)
lib.locale()

---Bridge variables init
Framework = {}
Clothing = {}
Housing = {}
Logging = {}
Motels = {}

---Debug Commands & Prints
Config.Debug = false

---Ped coords used the very first time a player joins (before any character exists).
Config.StartingCoords = vector4(-1037.82, -2737.87, 20.17, 327.36)

---Offer new characters a starting apartment/motel to pick from on creation.
Config.StartingMotels = false

---Offer the "Last Location" spawn option.
Config.ShowLastLocation = true

---Force spawning at the last location when the character is dead.
Config.ForceLastLocationIfDead = true

---Force last location only when reconnecting within Config.CombatLogTime (anti combatlog).
Config.CombatLog = true

---Combat log window in seconds (1200=20m, 900=15m, 600=10m, 300=5m, ...).
Config.CombatLogTime = 900
Last updated Cadburry Scripts