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