The nx_racing:client:openLaptop event is designed to open the racing tablet interface in fullscreen mode, making it compatible for laptop-style usage within the Nexure Racing System. This event allows players to access race-related data and features in a larger, immersive format.

Event Details

  • Event Name: nx_racing:client:openLaptop
  • Description: Opens the racing tablet interface in fullscreen mode for a laptop-compatible display.

Usage

To trigger this event, use the following code:

TriggerEvent('nx_racing:client:openLaptop')

Example Scenario

If you want to open the racing laptop interface when a player interacts with a specific object or location, use this event within that interaction’s callback:

RegisterNetEvent('someInteractionEvent', function()
   TriggerEvent('nx_racing:client:openLaptop')
end)

Disclaimer

Note: There is also an export variant of this function, offering additional flexibility. For details, refer to the Export Variant Guide.

This event makes it easy to integrate a full laptop-style interface into various parts of your server’s gameplay, offering a more expansive view for race management.