Configuration
config.lua
Config = {}
-- Framework
Config.framework = 'ESX' -- ESX/QBCORE
-- Language
Config.language = 'en' -- Languages: en | hu | es | ru | (you can add new translations in the shared/language.lua)
-- Command Name
Config.commandName = 'squad' -- The command which allow to open the squad Menu
Config.commandName2 = 'toggleping' -- The command which Enable/Disable the ping
Config.commandName3 = 'togglegamertag' -- The command which Enable/Disable the gamertag
Config.commandName4 = 'gamertagrange' -- The command which set when gamertags should be appear
Config.commandName5 = 'pingvolume' -- The command which set the ping volume
-- Blip settings
Config.blipSprite = 1 -- Blip sprite (https://docs.fivem.net/docs/game-references/blips/)
Config.blipColor = 3 -- Blip default color (https://docs.fivem.net/docs/game-references/blips/#blip-colors)
Config.blipText = 'Member' -- Set blip text name
Config.refreshTime = 5000 -- Time (in milliseconds) to need to refresh blips
-- HealthBar
Config.refreshHealth = 0 -- Time (in milliseconds) to need to refresh squad member healths
-- Gamer Tag
Config.useGamerTag = true -- Enable/Disable the gamertag
-- Ping Setttings
Config.pingButton = 348 -- Set ping button (default: scroolwheel pressed) | (https://docs.fivem.net/docs/game-references/controls/#control-types)
Config.quickPingButton = 348 -- Set the quick ping button (default: scroolwheel pressed) | (https://docs.fivem.net/docs/game-references/controls/#control-types)
Config.pingCooldown = 10000 -- Set the cooldown of the ping
Config.pingRange = 300 -- Set ping range
Config.refreshRaycast = 1000 -- Set the raycast refresh time
-- Squad Settings
Config.showPlayerHealth = true -- Enable/Disable squad settings (players health)
Config.showPlayerBlips = true -- Enable/Disable squad settings (players blips)
-- Notify
Config.useCustomNotify = false -- Enable/Disable custom notify
Config.useMyNotify = function(notifyMessage, notifyType, duration)
-- your export here
end
Last updated
Was this helpful?