Notifications
function notify(msg, type)
-- type = 'inform' or 'error' or 'success'
lib.notify({
title = Lang[Config.Language].general.titlle,
description = msg,
duration = 7000,
position = 'top',
type = type
})
endRegisterNetEvent('gcm_vips:notifyPaycheck', function(source, ammount, isVip)
if isVip then
TriggerClientEvent('gcm_vips:client:notify', source, 'You have received a bonus $'..ammount..' for your VIP', 'success')
else
TriggerClientEvent('gcm_vips:client:notify', source, 'You have received a bonus $'..ammount..' If you want to increase this acquire a membership', 'success')
end
end)Last updated