SERVER EXPORTS

Return Object Structure
{
  "id": 1,
  "number": 123456789,
  "title": "Suspicious Conversation",
  "url": "[https://example.com/audio.ogg](https://example.com/audio.ogg)",
  "createdAt": 1678900000
}

Save Voice Message (By Source)

Saves a voice recording (audio file) to the player's voice recorder app using their Server ID (Source).

local result = exports["17mov_Phone"]:Voice_SaveMessageToPlayerBySrc(src, title, url)

Returns:

  • table: Object containing details of the saved message.

Argument
Type
Optional
Explanation

src

number

โŒ

The player's server ID (source).

title

string

โŒ

The title/name of the recording.

url

string

โŒ

Direct URL to the audio file (e.g., .ogg, .mp3).

Save Voice Message (By Number)

Saves a voice recording (audio file) to the player's voice recorder app using their phone number.

local result = exports["17mov_Phone"]:Voice_SaveMessageToPlayerByNumber(number, title, url)

Returns:

  • table: Object containing details of the saved message.

Argument
Type
Optional
Explanation

number

number

โŒ

The player's phone number.

title

string

โŒ

The title/name of the recording.

url

string

โŒ

Direct URL to the audio file (e.g., .ogg, .mp3).

Last updated