> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reemplazar notificaciones por defecto

> Usa un sistema de notificaciones personalizado en lugar del predeterminado escuchando el event notify.

Se activa después de notificar al jugador en el cliente.

```lua Event theme={null}
AddEventHandler("shops_creator:notify", function(message, uncoloredMessage)

end)
```

### Parámetros

| Nombre | Tipo de dato | Descripción |
| - | - | - |
| `message` | string | Mensaje de la notificación |
| `uncoloredMessage` | string | Mensaje de la notificación pero sin `~r~`, `~g~`, etc. |

## Ejemplo

```lua theme={null}
RegisterNetEvent("shops_creator:framework:ready", function()
    -- Desactiva la notificación por defecto del script (si no, habría 2 notificaciones)
    exports["shops_creator"]:disableScriptEvent("shops_creator:notify")
end)

RegisterNetEvent("shops_creator:notify", function(message, uncoloredMessage)
    TriggerEvent("external_script:notify", message)

    -- O si NO quieres ~r~, ~g~ puedes usar
    --TriggerEvent("external_script:notify", uncoloredMessage)
end)
```

<Note>
  Coloca este código en el archivo `integrations/cl_integrations.lua` del script, al final del archivo en líneas nuevas.
</Note>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.