In order to ensure a successful installation, please follow the instructions very carefully.
Dependencies
oxmysql
Installation
Download the latest build of oxmysql (not the source code).
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Required version
Your oxmysql version must be 2.0.0 or above in order to work with our system.
Use the built version
Make sure you have downloaded the built version of oxmysql! If you download the source code, then the resource won't start and queries are unable to execute.
The built version can be downloaded from the releases page (oxmysql.zip).
ox_lib
Installation
Download the latest build of ox_lib (not the source code).
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Use the built version
Make sure you have downloaded the built version of ox_lib! If you download the source code, then it won't function correctly and the application will have problems.
The built version can be downloaded from the releases page (ox_lib.zip).
Installing the resource
Make sure you have the dependencies listed above installed.
Extract the contents of the archive to your resources folder.
Run the SQL queries provided in rahe-racing/sql/db.sql.
Choose your framework tab from the section below & follow the instructions.
In the file rahe-racing/public/config/shared.lua change the framework to 'QB'.
In the file rahe-racing/public/config/shared.lua change the framework to 'ESX'.
In the file rahe-racing/public/config/shared.lua make sure the framework is set to 'STANDALONE'.
Fill in the framework functions (like giving/removing money) if needed, taking QB/ESX as an example.
In the file rahe-racing/public/config/shared.lua make sure the framework is set to 'CUSTOM'.
Fill in the framework functions (like giving/removing money) if needed, taking QB/ESX as an example.
Using the resource
Use the command /racing in-game to open the application tablet.
Importing tracks
There are about 100 custom-made tracks included with the resource. If you wish, you can import these into your database to have some inital tracks. This is completely voluntary and is not required if you want to create your own tracks.
To import them, just run the SQL query provided in rahe-racing/sql/tracks.sql
The tracks SQL file is quite large and some databases tend to time out when trying to import the tracks. To counter this, please run the following SQL query before importing: