Added xPlayer .showNotification() and .showHelpNotification()

This commit is contained in:
ElPumpo
2019-10-06 20:29:56 +02:00
parent 4000e1eb34
commit 546ac33b1a
+8
View File
@@ -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