If you are new to RedM scripting or our products, we recommend starting here before moving to the Installation & Configuration guide.
1. Understanding our scripts
All of our RedM scripts follow a similar structure:- A main script folder containing
client.lua
,server.lua
, and configuration files - A frameworkBridge (
frameworkBridge.lua
) to ensure compatibility with multiple frameworks (VORP, RSG, or custom) - Optional dependencies such as UI components, props, or maps
The frameworkBridge is included with every script to unify framework-specific logic. If you use a custom framework, you can adapt the bridge to match your own events and data structure.
2. Prerequisites
Before installing:- Ensure your RedM server is running the latest stable build
- Confirm you have a database set up (MySQL or MariaDB) if the script requires persistence
- Install any required frameworks (VORP, RSG, etc.)
- Have access to your
server.cfg
to addensure
commands
3. Basic workflow
The general process for adding any of our scripts is:- Download the script from our Tebex Store
- Unpack it into your
resources
folder - Configure it via
config.lua
- Ensure it in your
server.cfg
- Test the functionality in-game
4. Framework setup
The frameworkBridge detects your framework automatically:- VORP → Detected if
vorp_core
is running - RSG → Detected if
rsg-core
is running - Custom → Set manually in
config.lua
:
custom
, you will need to implement the required player and inventory functions in frameworkBridge.lua
.
5. Database integration
If a script stores persistent data, it will use oxmysql by default:.update.await
and .insert.await
.
Ensure that your database connection is configured in your server’s server.cfg
:
6. First run
After installation and configuration:- Start the server
- Watch the console for confirmation messages
- Join the server and test key features
- Check for errors or missing dependencies