This permissions functions are located in server/editable/permissions.lua
This permission will allow/block the player from creating new tracks, make your own check and return true/false
functionCanCreateTracks(src) -- Player can create new trackslocal permission =false permission = exports['av_laptop']:getPermission(src,Config.AdminLevel)return permissionend
This permission will allow/block the player from creating new events, make your own check and return true/false
functionCanCreateRaces(src) -- Player can create new events (races)local permission =false permission = exports['av_laptop']:getPermission(src,Config.AdminLevel)return permissionend
This permission will allow/block the player from deleting existing tracks, make your own check and return true/false
functionCanDeleteTracks(src) -- Player can delete trackslocal permission =false permission = exports['av_laptop']:getPermission(src,Config.AdminLevel)return permissionend
Permission needed to open the admin:racing admin panel.
functionAdminCrew(src) -- Used for /admin:racing commandlocal permission =false permission = exports['av_laptop']:getPermission(src,Config.AdminLevel)return permissionend