For the complete documentation index, see llms.txt. This page is also available as Markdown.

SERVER EXPORTS

Add Pin (By Source)

Adds a custom pin (marker) to the player's map using their Server ID (Source).

local result = exports["17mov_Phone"]:Maps_AddPinBySrc(src, label, color, position)

Returns:

  • table: { success: boolean, id?: number }

Argument
Type
Optional
Explanation

src

number

❌

The player's server ID (source).

label

string

❌

The name/label of the pin.

color

number

❌

Index of the pin color (0-4).

position

Vector2

❌

Coordinates for the pin.

Add Pin (By Number)

Adds a custom pin (marker) to the player's map using their phone number.

local result = exports["17mov_Phone"]:Maps_AddPinByNumber(number, label, color, position)

Returns:

  • table: { success: boolean, id?: number }

Argument
Type
Optional
Explanation

number

number

❌

The player's phone number.

label

string

❌

The name/label of the pin.

color

number

❌

Index of the pin color (0-4).

position

Vector2

❌

Coordinates for the pin.

Last updated