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