mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
Updated native names, added optional values (read desc)
Added flash and saveToBreif booleans to ESX.ShowNotification() and ESX.ShowHelpNotification() Added two optional booleans thisFrame, beep to ShowHelpNotification() and last new optional argument duration
This commit is contained in:
@@ -531,12 +531,12 @@ function CreateExtendedPlayer(player, accounts, inventory, job, loadout, name, c
|
||||
return
|
||||
end
|
||||
|
||||
self.showNotification = function(msg)
|
||||
self.triggerEvent('esx:showNotification', msg)
|
||||
self.showNotification = function(msg, flash, saveToBrief)
|
||||
self.triggerEvent('esx:showNotification', msg, flash, saveToBrief)
|
||||
end
|
||||
|
||||
self.showHelpNotification = function(msg)
|
||||
self.triggerEvent('esx:showHelpNotification', msg)
|
||||
self.showHelpNotification = function(msg, thisFrame, beep, duration)
|
||||
self.triggerEvent('esx:showHelpNotification', msg, thisFrame, beep, duration)
|
||||
end
|
||||
|
||||
return self
|
||||
|
||||
Reference in New Issue
Block a user