Permissions

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

function CanCreateTracks(src) -- Player can create new tracks
    local permission = false
    permission = exports['av_laptop']:getPermission(src,Config.AdminLevel)
    return permission
end

Last updated