# Notifications

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.

```lua
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.

```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)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gcmoddoc.gitbook.io/gcmod/resources/vip-system/configuration/notifications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
