Installation
Download Asset(s)
Download from GitHub Repository, clone or download the repository to your resources folder.
Download Dependencies
| Dependency | Required |
|---|---|
| es_extended OR qb-core OR qbx_core |
[INSTALLATION] folder.Framework Integration (Optional)
If you want RxNotify to replace your framework's default notifications, follow these instructions:
ESX Installation
Make sure to add the client_script line at the bottom of the fxmanifest.lua file so it loads after all other client scripts and properly overrides the framework's notification functions.
Copy the file [INSTALLATION]/ESX/rxnotify.lua to your es_extended resource folder
Open es_extended/fxmanifest.lua
Add the following line at the bottom of the file
client_script 'rxnotify.lua'
Restart your server
QBCore Installation
Make sure to add the client_script line at the bottom of the fxmanifest.lua file so it loads after all other client scripts and properly overrides the framework's notification functions.
Copy the file [INSTALLATION]/QBCore/rxnotify.lua to your qb-core resource folder
Open qb-core/fxmanifest.lua
Add the following line at the bottom of the file
client_script 'rxnotify.lua'
Restart your server
QBox Installation
QBox requires both server-side and client-side function replacements for RxNotify to work properly.
Open qbx_core/server/functions.lua
Replace the Notify function with the code in rxnotify_server.lua
Open qbx_core/client/functions.lua
Replace the Notify function with the code in rxnotify_client.lua
Restart your server
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.
[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.# 1. Start framework (optional)
ensure es_extended or qb-core or qbx_core
# 2. Start RxNotify
ensure RxNotify
# Or, start all of our assets at once
ensure [rx]
