mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Added xPlayer .showNotification() and .showHelpNotification()
This commit is contained in:
@@ -481,5 +481,13 @@ function CreateExtendedPlayer(player, accounts, inventory, job, loadout, name, l
|
||||
return nil
|
||||
end
|
||||
|
||||
self.showNotification = function(msg)
|
||||
TriggerClientEvent('esx:showNotification', self.source, msg)
|
||||
end
|
||||
|
||||
self.showHelpNotification = function(msg)
|
||||
TriggerClientEvent('esx:showHelpNotification', self.source, msg)
|
||||
end
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user