ESX
The installation of the script is extremely easy
Here are the steps to install the script
Config = {}
-- COMMANDS --
Config.OpenList = "emplist" -- Command
Config.AllowedJobs = {
"police",
"ambulance",
-- Add more job names as needed
}
Config.Text = {
['error'] = 'You do not have access to this command!',
}
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