Merge pull request #744 from heyheyitsmeman/patch-1

Fix showNotification.
This commit is contained in:
Jérémie N'gadi
2020-05-15 18:15:52 +02:00
committed by GitHub
+2 -2
View File
@@ -490,8 +490,8 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
return
end
self.showNotification = function(msg, flash, saveToBrief, hudColorIndex)
self.triggerEvent('esx:showNotification', msg, flash, saveToBrief, hudColorIndex)
self.showNotification = function(msg)
self.triggerEvent('esx:showNotification', msg)
end
self.showHelpNotification = function(msg, thisFrame, beep, duration)