mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 14:06:02 +01:00
- seperated the 2000+ lines in ReadMe.md into seperate files. - useful if things expand - better readability for users - more organised layout
716 B
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 likesender,subject,message, andreceiver.
- Example:
sendPhoneMail({ subject = "Welcome!", sender = "Admin", message = "Thank you for joining our server.", actions = { { label = "Reply", action = replyFunction } } })