RAHE Development
  • Welcome
  • General information
  • Common questions
  • OUR SCRIPTS
    • đŸŽī¸Racing
      • đŸ–Ĩī¸Installation
      • âš™ī¸Integration
      • â‰ī¸Common issues
      • ❔Common questions
      • â„šī¸Race types explained
    • 🚙Drifting
      • đŸ–Ĩī¸Installation
      • âš™ī¸Integration
    • 🚔Boosting
      • đŸ’ģInstallation
      • âš™ī¸Integration
      • ❔Common questions
      • â‰ī¸Common issues
    • đŸ“ģSpeakers
      • đŸ–Ĩī¸Installation
      • âš™ī¸Integration
      • ❔Common questions
    • đŸ’ģTablet
      • đŸ–Ĩī¸Installation
      • âš™ī¸Integration
Powered by GitBook
On this page
  • Dependencies
  • Installing the resource
  • Using the resource
  • Importing tracks
  1. OUR SCRIPTS
  2. Racing

Installation

In order to ensure a successful installation, please follow the instructions very carefully.

PreviousRacingNextIntegration

Last updated 1 year ago

Dependencies

oxmysql

Installation

  • Download the 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 (oxmysql.zip).

ox_lib

Installation

  • Download the 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 (ox_lib.zip).

Installing the resource

  1. Make sure you have the listed above installed.

  2. Extract the contents of the archive to your resources folder.

  3. Run the SQL queries provided in rahe-racing/sql/db.sql.

  4. 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:

SET GLOBAL max_allowed_packet=1073741824;

latest build
releases page
latest build
releases page
dependencies
đŸŽī¸
đŸ–Ĩī¸
Page cover image