mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user