Merge pull request #1056 from r3ps4J/fix/xplayer-shownotification

fix(es_extended/server/classes/player.lua): Fix showNotification function parameters to correspond with esx:showNotification event
This commit is contained in:
Gellipapa
2023-06-15 10:36:03 +02:00
committed by GitHub
+2 -2
View File
@@ -559,8 +559,8 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
end
end
function self.showNotification(msg)
self.triggerEvent('esx:showNotification', msg)
function self.showNotification(msg, type, length)
self.triggerEvent('esx:showNotification', msg, type, length)
end
function self.showAdvancedNotification(sender, subject, msg, textureDict, iconType, flash, saveToBrief, hudColorIndex)