X3D Sell Drug config
Change values in the form, then copy one topic or the whole file into your server.
Download with my settingsGeneral
Docs ↗Config.FrameworkFramework: 'auto' uses ESX when es_extended is there, otherwise standalone · 'esx' · 'standalone'
Config.LocaleLanguage of all text ('th' or 'en')
Config.DebugPrint debug messages (true/false)
Config.RequiredJobsMinimum on-duty players per job before anyone can sell, e.g. { police = 2 } · {} = no check
Standalone has no jobs: fill Framework.GetJob in addons/framework/server.lua, otherwise nobody can sell
Jobs that cannot sell are set per group in blockedJobs below
Config.AlertAlert these jobs after a sale: chance 0–1 per sale, delay in ms, blipTime = seconds the map circle stays
radius = circle size, colour = GTA blip colour id (1 red, 47 orange, 5 yellow); the circle flashes until it expires · jobs = {} = off
Config.AdminBlipsAdmins see every buyer spot (empty ones too) on join, players never do · with x3d_adminpanel you can toggle it there instead
Config.InteractDistanceHow close you must be to press E (metres)
Config.StreamDistanceDistance at which a buyer ped spawns (metres)
Groups
Docs ↗Config.Groups| # | Name | Thai namelabel | English namelabelEn | Options | ||
|---|---|---|---|---|---|---|
| 1 | street | |||||
| 2 | event |