Commands
This section lists all available commands included in the script. Each command is designed to simplify administration, player interaction, or debugging tasks. You’ll find detailed descriptions, usage examples, and permission requirements to help you manage and customize your server efficiently.
| Command | Description |
/openracingui | You must enable Config.AccessTabletWithKey. |
/race_cams | Requires using Config.Debug for this. |
Client Exports
This section provides all available client exports for the script. These functions allow you to interact directly with the system from the client side, enabling custom features, UI interactions, and integrations with other resources. Each export includes a short description and usage example for easy implementation.
The InRace export allows you to check if a player is currently participating in a race. This is useful for managing or restricting specific actions while the player is actively racing.
To check whether the player is in a race, use the following code:
This will return a boolean value (true or false) indicating whether the player is actively participating in a race. You can then use this information to implement custom logic, such as blocking certain interactions, modifying gameplay mechanics, or displaying race-specific UI elements.
