X3D House Robbery 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.MinigameMinigame: 'auto' uses x3d_lockpick/x3d_safe when started, otherwise the ox_lib skill check · 'x3d' forces x3d only · 'ox_lib' forces ox_lib only
Config.LocaleLanguage of all text ('th' or 'en')
Config.InventoryResourceInventory resource with a CanCarryItemSrc export, to check the bag can hold the loot before handing it over
false = no check, the inventory handles it
Config.DebugPrint debug messages (true/false)
Config.RequiredJobsMinimum on-duty players per job before a robbery can start, e.g. { police = 2, ambulance = 1 } · {} = no check
Standalone has no jobs: fill Framework.GetJob in addons/framework/server.lua, otherwise nobody can rob
Config.BlockedJobsJobs that cannot rob, e.g. { police = true, ambulance = true }
Config.AlertAlert these jobs when someone breaks in: chance 0–1, 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 house as a map blip on join (players never do) · with x3d_adminpanel you can toggle it there instead
Settings
Docs ↗Config.SettingslockpickPinslockpick pins (ox_lib = rounds)
safeCombinationsafe code, one random number per range
#1#2#3searchDurationtime per search point (ms)
cooldownTimeper-house cooldown (ms)
portalDrawDistancedistance the door label appears
zoneDrawDistancedistance the search labels appear
interactDistancekey press range
robControlinteract key (38 = E)
robControlLabelletter shown on the label
House Rob
Docs ↗Config.HouseRob| # | Name | name | portal | robzone | Options |
|---|---|---|---|---|---|
| 1 | houserob1 | ||||
| 2 | houserob2 | ||||
| 3 | houserob3 | ||||
| 4 | houserob4 | ||||
| 5 | houserob5 | ||||
| 6 | houserob6 | ||||
| 7 | houserob7 | ||||
| 8 | houserob8 |