❔Common questions

Commonly asked questions from our customers. Feel free to read these to get a better overview.

Can the tablet be opened with an item?

Yes, the tablet can be opened from any script by triggering the necessary client-side event, which can be found in rahe-racing/public/client.lua. This means it can also be opened by an inventory script. If you are unsure how to do this, please take a look at our racing integration section.

⚙ī¸pageIntegration

How do I change the tablet language (locale)?

Our resource uses the locale module from ox_lib.

All the locales are stored in the rahe-racing/locales folder. In order to specify a language, you must add a convar to your server config (before our resource starts) as instructed in ox_lib's setup section: https://overextended.dev/ox_lib/Modules/Locale/Shared#setup

So if you for example want to use Spanish, and set the convar to es, then our resource will automatically try to load the rahe-racing/locales/es.json file. If you don't set any convar, then the default language will be English (en) and the loaded file will therefore be racing/locales/en.json.

I have a higher average position than my friend, why is he above me in the leaderboard?

It's sorted by player ELO, which is not given in normal races. When two people have the same rating, the sorting is random. More about types and competitions in our race types section.

ℹī¸pageRace types explained

How do I enable or configure phasing/ghost mode/no collision?

Phasing and its available options are all explained in our config at rahe-racing/public/config/server.lua.

Why can't I create a competition? It's telling me that it doesn't have a result.

If you are getting the following error notification in your tablet when trying to create a competition:

Competition can't be created. Track '%s' has no '%s' class results (to calculate the DNF timer).

Competitions have dynamic DNF timers. This means when the track is short, the DNF timer (time you have to finish after the winner) is short too, for example 3 minutes.

If the track is long, then the DNF timer will also be longer, for example 10 minutes. In order for the system to calculate how long the DNF timer should be (3 minutes or 10 minutes), it needs to know how long the track is.

In order for the system to know how long the track is, it will look at the past results on the track. Meaning that in order to start an S class competition on a track, you must have at least one S class result on that track (normal race). Drive through that track once with the class in a normal race.

How are vehicle classes determined?

Vehicles are classed by their performance, we have predefined most of the vanilla GTA cars for you. For custom cars, you must assign a vehicle class to them manually in the table at rahe-racing/public/server.lua.

Manual class assigning is the best way to ensure fair vehicle classes. If you tried to do it automatically, based on vehicle values (or something else), then it isn't 100% accurate as the vehicle model often affects performance.

Where can I find the vehicles and their classes?

All the vehicles and their classes can be found in rahe-racing/public/server.lua.

Can I make it so only certain people are allowed to create tracks / competitions?

Restricting competition & track creation is explained in our config at rahe-racing/public/config/server.lua.

Last updated