Setup
Steps for setting up your zyke_status resource.
ESX Guide
Run the SQL query located in zyke_status/extras/zyke_status.sql.
Remove your old esx_status resource from the server, and make sure it does not get started in your server.cfg.
Start zyke_status after zyke_lib, but before all resources that would depend on the status system. By default, this would only be esx_basicneeds (or similar) and your hud it has to be above of.
QBCore Guide
For QBCore, it is slightly more complicated because of their setup. The exact steps and lines may differ based on your version and your hud of choice, but the events we need to remove are usually the same.
We offer two approaches, depending on if you want QB to still handle some values, or completely rely on our system. However, we do recommend that you follow the "Full Control" giode so that there are no duplicate drains/effects etc.
Basic Compatibility
To get the basic compatibility going, you will need to modify the SetMetaData function. This allows us to catch any attempts to modify your status, which then dispatch it to our system to handle the rest. Our system will execute everything needed for the rest of your server to proceed as normal.
Run the SQL query located in zyke_status/extras/zyke_status.sql.
Navigate here and replace the entire function with the code provided below (L274-L281).
Start zyke_status after zyke_lib, but before all resources that would depend on the status system. By default, this would only be qb-smallresources (or similar) and your hud it has to be above of.
Full Control (Remove QB drains/additions/effects)
[Gaining Stress] Navigate here and remove the entire event (L20-L40).
[Stress Relieving] Navigate here and remove the entire event (L42-L62).
[Hunger & Thirst Drain] Navigate here and replace the entire event with the code provided below (L151-167).
[Stress Effects] Navigate here and remove the entire thread (L977-L1011)
Last updated
Was this helpful?