SERVER EXPORTS
Fetch Notes (By Source)
Retrieves a list of all notes belonging to a player using their Server ID (Source).
local notes = exports["17mov_Phone"]:Notes_FetchNotesById(src)Returns:
NotesItem[]: An array of note objects.
src
number
โ
The player's server ID (source).
Retrieves a list of all notes belonging to a player using their phone number.
local notes = exports["17mov_Phone"]:Notes_FetchNotesByNumber(number)Returns:
NotesItem[]: An array of note objects.
number
number
โ
The player's phone number.
Add Note (By Source)
Creates a new note for a player using their Server ID (Source).
local noteId = exports["17mov_Phone"]:Notes_AddNoteBySrc(src, title, description)Returns:
number: The ID of the newly created note.
src
number
โ
The player's server ID (source).
title
string
โ
The title of the note.
Add Note (By Number)
Creates a new note for a player using their phone number.
local noteId = exports["17mov_Phone"]:Notes_AddNoteByNumber(number, title, description)Returns:
number: The ID of the newly created note.
number
number
โ
The player's phone number.
title
string
โ
The title of the note.
Delete Note
Permanently deletes a specific note.
local success = exports["17mov_Phone"]:Notes_DeleteNote(noteId)Returns:
boolean:trueif the note was successfully deleted.
noteId
number
โ
The ID of the note to delete.
Last updated