-- show up the alertexports.lvs_lib:showAlert({ title ='Box Title', message ='Lorem ipsum dolor sit amet, consectetur adipiscing elit. \n Aenean vitae.'--time = 10000 -- [optional] The time in milliseconds you want the alert to disappear})-- update the title and mesagge on the visible alertexports.lvs_lib:updateAlert({ title ='New Title', message ='Message updated'})-- hide the alertexports.lvs_lib:hideAlert()
Server-side using events
Example:
-- show up the alertTriggerClientEvent('lvs_lib:client:showAlert', source, { title ='Box Title', message ='Lorem ipsum dolor sit amet, consectetur adipiscing elit. \n Aenean vitae.'--time = 10000 -- [optional] The time in milliseconds you want the alert to disappear})-- hide the alertTriggerClientEvent('lvs_lib:client:hideAlert', source)