Configuration
Script configuration
Config = {}
-- Enable this for debugging
Config.Debug = false
-- Interaction method: "textui", "ox_target"
Config.InteractionType = "ox_target"
-- Optional tabs
Config.EnableRanksTab = true
Config.EnableLogsTab = true
Config.EnableSettingsTab = true
-- Discord webhook for logs (optional)
Config.UseDiscordLogs = false
Config.DiscordWebhooks = {
["police"] = "YOUR_WEBHOOK_URL_HERE",
}
-- Boss menu locations
Config.BossLocations = {
{
job = "police",
coords = vec3(461.4089, -986.2427, 31.4511),
heading = 184.0,
bossGrade = 4, -- This and all above grades will have all permissions on boss menu automatically
interactionRadius = 1.5, -- Radius for textui
useBlip = true,
blip = {
sprite = 487,
color = 49,
scale = 0.7,
label = "Police HQ"
}
},
}
-- All available permissions (Don't touch this if you don't know what you're doing!)
Config.AllPermissions = {
general = {
'view_menu',
'view_members',
'view_money',
'view_logs',
'view_stash',
'view_ranks',
'view_settings'
},
money = {
'withdraw_money',
'deposit_money',
'give_bonus'
},
members = {
'hire_members',
'promote_members',
'demote_members',
'fire_members',
'add_notes',
'view_notes'
},
ranks = {
'manage_ranks',
'view_rank_members'
},
stash = {
'access_stash',
'manage_stash'
},
settings = {
'manage_settings',
'manage_permissions'
}
}
Last updated