⚙️Configuration

Configuration guide of Treasure Map System.


General Settings

Parameter

Description

Example Value

Config.Framework

Determines which framework to use: auto, esx, or qb.

"auto"

Config.Language

Sets the language for in-game messages.

"en"

Config.radioName

Item name for the radio in-game.

"radio"

Config.defaultVolume

Default volume level of the radio, ranging from 0 to 100.

50


Radio Settings

Parameter

Description

Example Value

Config.RadioProp

The prop used for the radio item.

"prop_cs_hand_radio"

Config.jobChannels

Channels restricted to specific job roles.

See Below

Job-Specific Channels Example:

  • Police & BCSO Channels: Frequencies: 1, 2, 3, 4, 5.

  • Ambulance Channels: Frequency: 2.0.


Framework Detection

The script is designed to automatically detect the framework in use:

  • ESX Framework

  • QBCore Framework

  • Auto Mode: Detects and applies the appropriate framework.


Localization

Parameter

Description

Example Value

Config.Locales

Localized messages for radio interactions.

"en", "de", "fr", "sp", "pt"

Last updated