Features
QBCore & QBox Integration
- Fully compatible with QBCore and QBox frameworks.
Qbx-radialmenu and Qb-radialmenu Support
- Includes radial menu functions for quick access to commands and actions.
- Players can easily trigger key functions without memorizing chat commands.
- Players can request or cancel services while inside of a vehicle.
- Radial menu functions used to trigger dispatch response events.
ERS Submenu (qb/qbx-radialmenu)
- Duty Menu - Toggle police, ambulance, fire amd tow jobs specifically.
- Utility Menu - Request callouts, toggle callouts, wraith radar remote, open mdt, speedzone menu.
- Cancel Request Menu - Cancel service requests.
- ERS Services Menu - Request ambulance, tow, coroner etc.
- Pursuit Backup Menu - Request pursuit backup
PS-Dispatch Integration
- Ps-dispatch simulates a dispatcher on service requests and certain events notifying of arrivals and calls giving a bit more immersion for players.
- Persistent dispatch notifications for all players.
- Traffic stops, accepted callouts, callout arrivals and pursuits all trigger dispatch events with player location and data.
- Callouts appear in dispatch as 911 Calls with caller and call details
-
Uses Player details
Character Name,CallsignandJobin dispatch events -
Added
TowandFirejobs to receive dispatch events (callouts and request events)
QB-target/Ox-target Support
- Go on/off duty for services at configurable points using ox-target or qb-target.
-
Request
ToworMechanicwhen targeting a vehicle while on duty. -
Request
AmbulanceandCoronerwhen targeting a downed ped while on duty. -
Add or remove duty locations in the
config.lua.
Dispatch Chat Display (only happens on first interaction - enable/disable in config)
- Automatic notifications in chat for peds and ped vehicles
- Display vehicle plate info when you interact
- Display ped ID info when you interact
- Callout offers displayed as Incoming 911 calls
Inventory Item Support (qb_inventory and ox_inventory items)
- Use your ERS tools as items.
-
Currently supports the
Stretcher,Fire Hose,Broom,MDT, andWraith Radar Remote.-
Stretcher - uses same as
stretchercommand -
Fire Hose - uses same as
hosecommand -
Broom - uses same as
broomcommand -
MDT - opens any MDT that uses
mdtcommand - Wraith Radar - use your radar remote as item
-
Stretcher - uses same as
Player Rewards
- Awards players with automatic bank payment bonus on completion of scene cleanup. Giving player incentive to clean-up their scenes.
-
Adjust reward amount in
config.lua.
Traffic Stops
-
When used with
Wk_wars2xradar the front plate will lock automatically. (enable/disable in config) - Sends dispatch alert when a stop is initiated.
Postal
- Nearest postal is now displayed in dispatch request and arrival events.
Installation
MANUAL-INSTALL
- Make a backup of your current resourses for security.
-
Open the
INSTALL MEFolder. Inside are your new ps-dispatch alerts and radial menu items.Script will not work without these. -
These are not drag & drop. You must add them manually!
Ps-dispatch
-
Go into your ps-dispatch resourse. Open the
config.luafile in thesharedfolder.- ps-dispatch/shared/config.lua
-
Add the new
Alert blipsfromadd.config.luaunder theConfig.Blipssection.
Radialmenu
-
Open your qbx-radialmenu resourse. Go into the
configfolder and open theclient.lua. Copy the items fromconfig.clientand paste them undermenuitemsorjobitems.- qbx-radialmenu/config/client.lua OR
-
Open your qb-radialmenu resourse. Open the
config.lua. Copy the items fromconfig.clientand paste them underConfig.MenuItemsorConfig.JobInteractions.- qb-radialmenu/config.lua
-
Drag and drop the
ers_integrationscript in your resourse folder.
REPLACE-INSTALL
- Make a backup as usual
Ps-dispatch
-
Replace the following in
ps-dispatchwith the files provoded in theREPLACE-INSTALLFolder.- ps-dispatch/shared/config.lua
Radialmenu
-
Next replace the following in
qbx-radialmenu.- qbx-radialmenu/config/client.lua
-
OR
-
Replace in
qb-radialmenu.- qb-radialmenu/config.lua
-
Drag and drop the
ers_integrationscript in your resourse folder.
Configuration config.lua
- Change and add target duty locations for jobs in config file
- Dispatch response and delay times (ps-dispatch events)
- Bonus bank money reward amount
- Enable/Disable specific dispatch notification options
Inventory Items (optional)
-
Item tables and images located in
INSTALL ME/Optional Items/items.lua. -
Supports
qbandoxinventories.
UPDATE
- Removed ox_lib as dependency
Known Bugs
- Dispatch will display arrival event when the player requests a service even if the request is denied
Download - Use this link for the latest release and features
https://github.com/DrSnyder86/ERS-Integration/tree/main
Dependencies
- Qb-core or Qbox framework
- Emergency Response Simulator https://store.nights-software.com/category/ersgamemode
- Ps-dispatch https://github.com/Project-Sloth/ps-dispatch
- qb-radialmenu https://github.com/qbcore-framework/qb-radialmenu
- OR
- qbx-radialmenu https://github.com/Qbox-project/qbx_radialmenu
Recommended
- nearest-postal https://github.com/DevBlocky/nearest-postal
- Wk-wars2x Radar https://github.com/WolfKnight98/wk_wars2x
- ps-mdt https://github.com/Project-Sloth/ps-mdt
Edited by drsnyder86
New screenshots
What's New in Version 1.4
Released
Update
- Target options
- Enhanced code
Recommended Comments
Create an account or sign in to comment