Hideouts
Info
General benefits and script support
Dependencies & Installation
- Put the script in the server and add
ensure "script_name"
to server.cfg - enjoy...
Config demo
Open Config
config.lua
Config = {}
Config.Debug = false -- Debug print
Config.Framework = '' -- RSG / VORP / REDEMRP_reboot / custom / standalone
---------------------------- !! IMPORTANT !! -----------------------------
-- If set to "standalone" the job and item opening functions are disabled
-- If set to "custom" you have to set up your own authentication functions
-- in open_server.lua to authenticate item and job.
--------------------------------------------------------------------------
Config.Prompt = {
Interaction = 0xE30CD707,
}
Config.Command = 'hideouts' -- If set to false, it's not possible to open and close using the command.
Config.Hideouts = {
[1] = { -- Saint Denis BookShelf // 2860.5188, -1198.2012, 49.6800
enable = true, -- whether you want to allow this hide to be opened
prompt = true, -- Visible button option on the subject
hideKey = false, -- If you still want the button to work but not show in the bottom right corner, you can press it
job = {'pawnbroker','sheriff'}, -- jobs that can use hide (When item and job is set to false, everyone can)
items = {'key','key2'}, -- item one needs to enter (key)
},
[2] = { -- Eris Field House Basement // 1261.9049, -407.1333, 97.6825
enable = true,
prompt = true,
hideKey = true,
job = false,
items = false,
},
[3] = { -- Rhodes Gun Shop Basement // 1328.3284, -1326.0095, 77.9827
enable = true,
prompt = true,
hideKey = true,
job = false,
items = false,
},
[4] = { -- Strawberry Store Trap Door // -1788.9897, -387.7166, 160.4168
enable = true,
prompt = true,
hideKey = true,
job = false,
items = false,
},
}
Config.Texts = {
open = 'Open',
close = 'Close',
casedoor = 'Bookshelves',
trapdoor = 'Trapdoor',
basement = 'Basement',
NoPermissions = 'You do not have permission',
notifOpen = 'Hideout open',
notifClose = 'hideout closed',
ladder = 'You cannot open it from the ladder',
}
Changelog
No information to display.