Permissions

This file allows you to configure specific permissions, including the ability to create events and new tracks.

Both functions must return a Boolean (true/false) indicating whether the user has access to the feature.

Each function has its own permissions check:

  • isAdmin(playerId) = Returns true/false if player is Admin, using the Fivem ACE Permissions native.

  • createTracks table = There's a table in the same file, where you can add your players Framework identifier and/or Rockstar License to allow them to use the function.

This permission allows the player to register new circuits.

Last updated