The export nx_racing.openLaptop
provides an alternative way to open the racing tablet interface in fullscreen mode for laptop-style usage 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.openLaptop
- Description: Opens the racing tablet interface in fullscreen (laptop-compatible) format.
Usage
To call this export, use the following code:
exports.nx_racing:openLaptop()
Example Scenario
If you want to open the racing laptop interface from a custom function or interaction within your script, you can call the export directly:
RegisterCommand('openlaptop', function()
exports.nx_racing:openLaptop()
end)
Disclaimer
Note: This export provides the same functionality as the
nx_racing:client:openLaptop
event. For more information, refer to the Event Trigger Guide.