Notifications
-----------------------------------------------
-- PNotif Notification System
-- Système de notifications PNotif
-----------------------------------------------
Notify = {}
function Notify.Send(playerId, message, title, type, duration)
if not playerId then
print('^1[PBlackMarket] Notify.Send: playerId est nil !^0')
return
end
TriggerClientEvent('pnotif:sendNotification', playerId, {
title = title or 'Black Market',
message = message or '',
type = type or 'info',
duration = duration or 4000
})
end
And here is the custom.lua file, where you can integrate your own system.
custom.lua file, where you can integrate your own system.Last updated