Master Mind Development
DiscordTebexGithub
  • ๐Ÿ’ฐPaid Release
    • ๐Ÿ“ฆAirdrop
      • โคต๏ธInstallation
        • ๐Ÿ‘œAdd Item
      • ๐Ÿ“’Configuration
        • ๐Ÿ’ชCore
        • ๐Ÿ‘œInventory
        • ๐Ÿ‘€Target
        • ๐ŸŽฎMinigame
      • ๐Ÿ‘จโ€๐Ÿ’ปCustomization
        • ๐Ÿ”ฅExplosive Crate
        • ๐Ÿ“งMail
    • ๐ŸŽ๏ธDealership
      • โคต๏ธInstallation
        • ๐Ÿ‘œAdd Item
        • ๐Ÿ‘จโ€๐Ÿ’ปInitializing/Configuration
        • ๐Ÿ“ธGenerate Vehicle Images
      • ๐Ÿ“’Configuration
        • ๐Ÿ’ชCore
        • ๐Ÿ‘œInventory
        • ๐Ÿ‘€Target
        • ๐Ÿ““Miscellaneous
      • ๐ŸฌHow to Add Custom Shop
      • โš ๏ธImportant Notes
  • ๐ŸŽFREE RELEASE
    • ๐Ÿ“ปRadio
      • โคต๏ธInsallation
        • ๐ŸŒ‰Bridge Setup
        • ๐Ÿ‘œAdd Item
        • ๐Ÿ‘จโ€๐Ÿ’ปHow to build svelte ui file?
      • ๐Ÿ“’Configuration
        • ๐Ÿ—ผJammer System
        • ๐Ÿ”‹Battery
        • ๐Ÿ“ปChannel Name
        • ๐Ÿ“ปRestricted Radio Channel
      • ๐Ÿ‘จโ€๐Ÿ’ปExports
      • ๐Ÿ’ปBranch
    • ๐Ÿ”‘Car Keys
      • โคต๏ธInstallation
        • ๐Ÿ‘œAdd Item
      • ๐Ÿ“’Configuration
        • ๐Ÿ’ชCore
        • ๐Ÿ‘œInventory
        • ๐Ÿ‘œStack Key
      • ๐Ÿ‘จโ€๐Ÿ’ปUseful Exports
Powered by GitBook
On this page
  • FOR LB-PHONE
  • FOR QS SMARTPHONE
  1. Paid Release
  2. Airdrop
  3. Customization

Mail

Guide on how to configure your mailing/alert system for players

FOR LB-PHONE

Step 1: Navigate to mm_airdrop/client/config.lua Step 2: Update PhoneNotify() function, set it:

function PhoneNotify()
    TriggerServerEvent('mm_airdrop:server:sendmail')
end

Step 3: Create a file in server folder naming mail.lua and add this to the file

RegisterNetEvent('phone:server:sendmail', function()
    exports['lb-phone']:SendAmberAlert(source, {
        title = "Alert!!!",
        content = "A Supply Drop has been spotted on the map! Go get it before someone else does!",
        icon = "danger",
    })
end)

Step 4: Add 'server/function.lua' in server_scripts in fxmanifest.lua. it should look like this:

server_scripts {
    '@oxmysql/lib/MySQL.lua',
    'server/interface.lua',
    'server/bridge/*.lua',
    'server/event.lua',
    'server/function.lua',
    'server/modules/*.lua',
    'server/mail.lua'
}

FOR QS SMARTPHONE

Step 1: Navigate to mm_airdrop/client/config.lua Step 2: Update PhoneNotify() function, set it:

function PhoneNotify()
    TriggerServerEvent('qs-smartphone:server:sendNewMail', {
        sender = 'Dark Web',
        subject = 'Alert!!!',
        message = 'A Supply Drop has been spotted on the map! Go get it before someone else does!',
        button = {}
    })
end

Last updated 1 year ago

๐Ÿ’ฐ
๐Ÿ“ฆ
๐Ÿ‘จโ€๐Ÿ’ป
๐Ÿ“ง