Intégrations

Pour utiliser No-Notify dans vos scripts FiveM, il suffit d'appeler l'événement No-Notify:showNotification côté client avec le type et le message souhaité.

Appeler une notification depuis un script client

Pour afficher une notification directement depuis votre script, utilisez cet événement :

TriggerEvent('No-Notify:showNotification', type, message)
  • type : Le type de notification (warning, ready, alert, information).

  • message : Le contenu de la notification.

Exemple :

TriggerEvent('No-Notify:showNotification', 'warning', "Attention, un danger est proche !")

Last updated