Getting Started
On this page: How to install, configure & edit script
Requirements
To install that script, you need to have:
- Framework: ESX 1.2, ESX Legacy or QBCore
- Database: MySQL Async or oxmysql
Installation
Buy script here
Download script here
Extract script from archive and move it to resources folder
Open script folder and configure framework in
fxmanifest.lua
ESX 1.2
local framework = 'esx'
local mysql = "mysql-async"ESX Legacy
local framework = 'esx'
local mysql = "oxmysql"QB Core
local framework = 'qb'
local mysql = "oxmysql"
info
After making changes in fxmanifest.lua
you need to refresh your scripts by using command /refresh
. After that, you can restart script
- Go to
shared/lang.lua
and configure your language - Go to
server/sv_config.lua
and configure script
- shared/lang.lua
- server/sv_config.lua
Config = Config or {}
-- Your locale from locales folder
Config.Locale = 'en'
-- Check server/sv_config.lua to more options
Config = Config or {}
-- Blip flashes after discovering
Config.BlipFlashes = {
toggle = true,
time = 10000 -- Time in ms
}
-- Distance to discover place
Config.ClickDistance = 1
-- Distance to show marker
Config.MarkerDistance = 30
-- Marker settings
Config.Marker = {
id = 32,
scale = vector3(0.75,0.75,0.75),
color = {r = 255, g = 0, b = 0, a = 200},
}
-- Locations to discover
Config.Locations = {
-- ['unique id']
['weed'] = {
-- Label of location in discover message / blip name
label = "Weed Field",
-- Color in discover message
titleColor = "~g~",
-- ID of blip
blipId = 469,
-- Color of blip
blipColor = 52,
-- Coords of location
pos = vector3(2210.571533, 5577.824219, 53.897461),
-- Jobs that can't discover/see that place
blacklistedJobs = {"police"},
},
['storage'] = {
label = "Hidden Storage",
titleColor = "~r~",
blipId = 50,
blipColor = 31,
pos =vec3(1204.272583, -3113.591309, 5.538452),
blacklistedJobs = {"police"},
},
}
- If you want, you can translate your script into your language. (optional)
- Go to
locales
folder - Make copy of
en.lua
and rename it to your language code - Open renamed file
- Change variable
fileLocale
to your language code - Translate messages
- Go to
shared/lang.lua
and changeConfig.Locale
to your language code
- Go to
- Start the server (or script after using
/refresh
command)
Editing script
You can edit almost every feature of that script. Only discover function is protected by Escrow.
danger
I won't fix issues that happened after editing the script!