Config

```lua
Config = {}

Config.Perms = {
	['ndev'] = {'admin', 'helper'}
}


-- COMMANDS --

Config.OpenAdminPanel = "ap" -- Command
Config.CloseAdminPanel = "apoff" -- Command
Config.TurnOnIDs = "id" -- Command

-- KEYBINDS --

Config.AdminPanelBind = "U"
Config.ToggleInvisible = "I"
Config.ToggleIDs = "O"

Config.IDsDistance = 600


Config.Text = {

	['tp_yourself'] = 'You can\'t teleport to yourself!',
	['bring_yourself'] = 'You can\'t bring yourself!',
	['spec_yourself'] = 'You can\'t spectate to yourself!',
	['kick_yourself'] = 'You can\'t kick to yourself!',
	['dm_yourself'] = 'You can\'t DM to yourself!',
	['warn_yourself'] = 'You can\'t Warn to yourself!',
	['ids_on'] = 'You turned on IDs!',
	['ids_off'] = 'You turned off IDs!',
	['reason'] = 'You must include a reason!',


	-- Admin Message
	['msg_header'] = 'ADMIN MESSAGE!',
	['msg_label'] = 'Message!',
	['msg_placeholder'] = 'Hmm..',
	['msg_fromadmin'] = 'Message from Admin..',
	
	-- Admin Warn
	['warn_header'] = 'ADMIN MESSAGE! ',
	['warn_label'] = 'Message! ',
	['warn_placeholder'] = 'Hmm.. ',
	['warn_fromadmin'] = 'Warning! ',
	['warn_reason'] = 'Reason: ',
}




function SendTextMessage(msg)

	--SetNotificationTextEntry('STRING')
	--AddTextComponentString(msg)
	--DrawNotification(0,1)

	--exports['okokNotify']:Alert('ADMIN PANEL', msg, 5000, 'info')
	--exports['mythic_notify']:SendAlert('inform', msg)
	--ESX.ShowNotification(msg)
	
	lib.notify({
		title = 'Info',
		description = msg,
		type = 'info'
	})
end


```

Last updated