Added optional notification background color arugment

Co-Authored-By: WolfShy1 <wolfshy1@users.noreply.github.com>
This commit is contained in:
ElPumpo
2020-01-15 12:18:39 +01:00
parent c345d40374
commit 60fd7e317b
2 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -531,8 +531,8 @@ function CreateExtendedPlayer(player, accounts, inventory, job, loadout, name, c
return
end
self.showNotification = function(msg, flash, saveToBrief)
self.triggerEvent('esx:showNotification', msg, flash, saveToBrief)
self.showNotification = function(msg, flash, saveToBrief, hudColorIndex)
self.triggerEvent('esx:showNotification', msg, flash, saveToBrief, hudColorIndex)
end
self.showHelpNotification = function(msg, thisFrame, beep, duration)