> ## 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.

# Remplacer les notifications mugshot par défaut

> Remplace la notification affichée pour l'action 'parler au ped' (avec le visage du PNJ).

Notification affichée lors de l'utilisation de l'action "parler au ped" (notification avec le visage du PNJ).

```lua Event theme={null}
AddEventHandler("missions_creator:internalMugshotNotify", function(ped, title, message)

end)
```

### Paramètres

| Nom | Type de donnée | Description |
| - | - | - |
| `ped` | integer | Handle de l'entité ped |
| `title` | string | Titre de la notification |
| `message` | string | Message de la notification |

## Exemple

```lua theme={null}
RegisterNetEvent("missions_creator:framework:ready", function()
    -- Désactive la notification par défaut du script (sinon il y aurait 2 notifications)
    exports["missions_creator"]:disableScriptEvent("missions_creator:internalMugshotNotify")
end)

RegisterNetEvent("missions_creator:internalMugshotNotify", function(ped, title, message)
    TriggerEvent("external_script:notify", message)
end)
```

<Note>
  Place ce code dans le fichier `jaksam_core/config/cl_config.lua`, en bas du fichier sur de nouvelles lignes.
</Note>


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