mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
fix(es_extended/server/classes/player.lua): Fix showNotification function parameters to correspond with esx:showNotification event
This commit is contained in:
@@ -572,8 +572,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.showHelpNotification(msg, thisFrame, beep, duration)
|
||||
|
||||
Reference in New Issue
Block a user