To be able to modify the notification system used, we just need to access the file located at: gcm_vips/client/editablecl.lua, and modify it as desired.
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
})
end
You can also modify the paycheck notifications. To do so, you must access the file located at: gcm_vips/client/editablesv.lua.
RegisterNetEvent('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)