The export nx_racing.openTablet
provides an alternative way to open the racing tablet interface within the Nexure Racing System. This method is useful for scripts or resources that prefer using exports over event triggers.
Export Details
- Export Name:
nx_racing.openTablet
- Description: Opens the racing tablet for the player in tablet format.
Usage
To call this export, use the following code:
exports.nx_racing:openTablet()
Example Scenario
If you want to open the racing tablet from a custom function or interaction within your script, you can call the export directly:
RegisterCommand('opentablet', function()
exports.nx_racing:openTablet()
end)
Disclaimer
Note: This export provides the same functionality as the
nx_racing:client:openTablet
event. For more information, refer to the Event Trigger Guide.