Configuration
Config = {}
-- Feature toggles
Config.UseBlocking = true
Config.ShowTimerUI = true
-- Default block durations (in minutes)
Config.DefaultDurations = {
shoot = 10,
walk = 15,
drive = 5
}
-- Which blocks can be used
Config.AllowShoot = true
Config.AllowWalk = true
Config.AllowDrive = true
-- UI Colors
Config.TimerUIColor = 'cyan' -- Can be 'cyan', 'neon', etc.
RegisterNetEvent('FM-Restriction:notify', function(msg, type)
-- TriggerEvent('QBCore:Notify', msg, type)
-- Add Your Notify Here
end)Last updated