Hazard Zones
Installation
Full installation guide to get this script up & running in no time.
Login to your Granted Assets - CFX Portal
Download RxHazardZones
Download Dependencies
Ensuring Asset(s)
To make sure the asset(s) starts & works properly we need to make sure all asset(s) start in the correct order in your server.cfg. Below you can find an example of how it can look like.
You can also create a folder called
[rx]
in your resource folder. If you own multiple scripts from RX, you will not need to add them all to your server.cfg seperately.server.cfg
# 1. Start your framework
ensure es_extended or qb-core or qbx_core
# 2. Start ox_lib
ensure ox_lib
# 3. Start fmLib (MUST be ensured below frameworks, inventories & such)
ensure fmLib
# 4. Start xsound
ensure xsound
# 5. Finally, start our asset singularly
ensure RxHazardZones
# Or, start all of our assets at once
ensure [rx]
FAQ
You can disable the red border by setting debug
to false
for each zone in config.lua
. Below you will find an example.