Config

Here you can find all the configurations that you can set with our fps menu script

Mio.Locals

Configure the different texts that should be output when notifying

Mio.Locals = {
    maprepair = 'Your map has been repaired',
    shadow = 'Shadows ',
    enabled = 'enabled!',
    disabled = 'disabled!',
    nodirect = 'NoDirect ',
    shadowonoff = 'Shadows: On/Off',
    nodirectonoff = 'NoDirect: On/Off',
    repairmaptitle = 'Repair Map'
}

Mio.Command

Settings for command

Mio.Command = "fps" -- Command to open FPS Menu

Mio.Notify

set your own notify export or use our MIO NOTIFY

------------------------- NOTIFICATION SETTINGS ------------------------------------------------------
-- Here you can customize notifications for individual situations
-- Replace "ESX.ShowNotification" with your own notification export if you're not using Mio Notify

Mio.MioNotify = false -- Set this to true if you are using our Mio Notify (https://tebex.mioscripts/mionotify)

    Mio.maprepair = function()
        ESX.ShowNotification(Mio.Locals.maprepair)
    end

    Mio.shadow = function(shadowsEnabled)
        ESX.ShowNotification(Mio.Locals.shadow .. (shadowsEnabled and Mio.Locals.disabled or Mio.Locals.enabled))
    end

    Mio.nodirect = function(noDirectEnabled)
        ESX.ShowNotification(Mio.Locals.nodirect .. (noDirectEnabled and Mio.Locals.disabled or Mio.Locals.enabled))
    end
------------------------- END OF NOTIFICATION SETTINGS --------------------------------------------------

Last updated