Documentation Mr Developpement
StoreYouTube
  • 👋Bienvenue dans la documentation de Mr Developpement
  • mMarketV1
    • Installation
    • Configuration
  • mContextMenu
    • Installation
    • Création Button / Menu
      • M.AddMenuButton
      • M.AddSubMenu
      • Comment crée un submenu (How to create a submenu)
  • mDispatchNotif
    • Installation
    • Création notification
      • Exemple Notification
  • mPrompt
    • Création Prompt
      • Exemple Prompt
  • mNotification
    • Création Notification
    • Mettre les notifications dans ESX
  • mHelpNotification
  • mDeathScreen
    • Installation
    • Configuration
    • ESX Tips
    • QBCore Tips
    • OX Tips
Propulsé par GitBook
Sur cette page
  1. mPrompt
  2. Création Prompt

Exemple Prompt

exports['mPrompt']:CreatePrompt('Voulez-vous vraiment acheter cet item ?', 'Cat (120$)', 'Oui','Non',
    function()
        ESX.ShowNotification('Vous avez acheté l\'item !')
    end,
    function()
        ESX.ShowNotification('Vous n\'avez pas acheté l\'item !')
    end
)
PrécédentCréation PromptSuivantmNotification

Dernière mise à jour il y a 6 mois