Skip to main content

Client Exports

SendMessage

Sends a message to a contact and automatically registers that contact in the local contact history if it does not already exist.
exports['projectx-burner']:SendMessage(sender, message, duration)
sender
string
required
Contact name or identifier
message
string
required
Message content to display
duration
number
Message display duration in milliseconds
Example
exports['projectx-burner']:SendMessage("Unknown Number", "Meet me at the docks.", 5000)

OpenContact

Opens the message history for a specific contact and displays all previously received messages from that contact.
exports['projectx-burner']:OpenContact(contact)
contact
string
required
The contact name to open
Example
exports['projectx-burner']:OpenContact("Unknown Number")