Files
jim_bridge/documentation/main_functions/phones.md
oosayeroo 451e4cbbdb better documentation layout
- seperated the 2000+ lines in ReadMe.md into seperate files.
 - useful if things expand
 - better readability for users
 - more organised layout
2025-05-16 14:28:41 +01:00

716 B

phones.lua

This module allows you to send in-game mail/messages to player phones, depending on the phone system integrated (e.g., QB, NPWD).

  • sendPhoneMail(data)

    • Sends a mail message to a player's in-game phone app.
    • Typically used to notify players about deliveries, missions, or reminders.
    • Parameters:
      • data (table): Must contain phone/mail system-compatible fields like sender, subject, message, and receiver.
    • Example:
      sendPhoneMail({
          subject = "Welcome!",
          sender = "Admin",
          message = "Thank you for joining our server.",
          actions = {
              { label = "Reply", action = replyFunction }
          }
      })