Config

Here you can find all the configurations that you can set with our id system script

Mio.Locals

Configure the different texts that should be output when notifying

Mio.Locals = {
	OwnID = "Your own ID is:",
	NearestID = "The ID of the nearest player is:",
	NoPlayerNearby = "No player nearby or you are too far away!",
}

Mio.Commands

Settings for commands

Mio.CommandID = "id" -- Display your own ID
Mio.CommandIDO = "ido" -- Display the ID of the nearest player

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

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

Mio.OwnID = function(source)
    ESX.ShowNotification(Mio.Locals.OwnID .. source)
  end
  
  Mio.NearestID = function(closestPlayer)
    ESX.ShowNotification(Mio.Locals.NearestID .. closestPlayer)
  end
  
  Mio.NoPlayerNearby = function()
    ESX.ShowNotification(Mio.Locals.NoPlayerNearby)
  end

------------------------- END OF NOTIFICATION SETTINGS --------------------------------------------------

Last updated