Интеграция
This script is highly customizable and compatible with all major frameworks and some of the most popular scripts on the market.
Don't use a mainstream framework or script? That's ok, custom integrations are supported too.
Every setting below defaults to 'auto', which automatically figures out what you're running — you usually don't need to touch any of this at all. Only set it manually if you run something non-standard, or if auto-detection picks the wrong one.
Framework
Please proceed based on the framework you use.
Navigate to inn-laundry/config/config.lua and set Config.Framework to
-- Config.Framework = 'auto'
or
Config.Framework = 'qb'
Navigate to inn-laundry/config/config.lua and set Config.Framework to
-- Config.Framework = 'auto'
or
Config.Framework = 'esx'
Navigate to inn-laundry/config/config.lua and set Config.Framework to
-- Config.Framework = 'auto'
or
Config.Framework = 'qbox'
For custom frameworks please see Интеграция на Собствен Фреймуърк
Target
Please proceed based on the target script you use.
Navigate to inn-laundry/config/config.lua and set Config.Target to
-- Config.Target = 'auto'
or
Config.Target = 'qbtarget'
Navigate to inn-laundry/config/config.lua and set Config.Target to
-- Config.Target = 'auto'
or
Config.Target = 'oxtarget'
Don't want a target dependency at all? Machines, the supplier NPC, the generator, and shell entry/exit each have their own useTarget config toggle — set them to false to use a simple [E]-prompt instead.
For custom target scripts please see Интеграция на Собствен Таргет
Inventory
Please proceed based on the inventory you use.
Navigate to inn-laundry/config/config.lua and set Config.Inventory to
-- Config.Inventory = 'auto'
or
Config.Inventory = 'qb'
Navigate to inn-laundry/config/config.lua and set Config.Inventory to
-- Config.Inventory = 'auto'
or
Config.Inventory = 'ox'
Navigate to inn-laundry/config/config.lua and set Config.Inventory to
-- Config.Inventory = 'auto'
or
Config.Inventory = 'qs'
For custom inventories please see Интеграция на Собствен Инвентар
Dispatch
Optional — if neither of these is installed, police raid alerts fall back to this script's own built-in notification to online police, so you can skip this section entirely.
Navigate to inn-laundry/config/config.lua and set Config.Dispatch to
-- Config.Dispatch = 'auto'
or
Config.Dispatch = 'psdispatch'
ps-dispatch dispatches by a codeName that must exist in its own config.lua, not this script's. Add an entry there — see the comment at the top of bridge/dispatch/psdispatch.lua.
Navigate to inn-laundry/config/config.lua and set Config.Dispatch to
-- Config.Dispatch = 'auto'
or
Config.Dispatch = 'cddispatch'
For custom dispatch scripts please see Интеграция на Собствен Диспечър
Notify
Independent of Config.Framework — a QBCore server can still prefer ox_lib-styled toasts (or vice versa), so pick whichever matches your server's look.
Navigate to inn-laundry/config/config.lua and set Config.Notify to
Config.Notify = 'ox'
Navigate to inn-laundry/config/config.lua and set Config.Notify to
Config.Notify = 'qb'
Navigate to inn-laundry/config/config.lua and set Config.Notify to
Config.Notify = 'esx'
Unlike the other bridges, 'auto' falls back to 'ox' here rather than 'custom' if nothing else is detected — ox_lib is already a hard dependency of this whole resource, so it's always a safe default.
For custom notification scripts please see Интеграция на Собствени Известия
Text UI
The on-screen [E] interact prompt shown by the [E]-prompt fallbacks mentioned above (see Target). Independent of Config.Framework, same as Notify.
Navigate to inn-laundry/config/config.lua and set Config.TextUI to
Config.TextUI = 'ox'
Navigate to inn-laundry/config/config.lua and set Config.TextUI to
Config.TextUI = 'qb'
No ESX option — ESX has no built-in on-screen prompt system of its own to bridge to (unlike QBCore's DrawText). 'auto' falls back to 'ox' for ESX and anything else undetected, the same as Notify above.
For custom text UI scripts please see Интеграция на Собствен Текст UI
