Exports
Server Exports 🖥️
➤ AddSimCard
📌 Adds a new SIM card for a player.
id (number) – Player ID.
register (boolean) –
true
(registered) orfalse
(unregistered).phoneNumber (number) – Phone number. if you left the phoneNumber empty, the number will be generated automatically
✅ Example:
➡️ Adds a registered SIM card with number 5551234 to player ID 1.
➤ GetPlayerSimCards
📌 Retrieves all SIM cards owned by a player based on their license.
license (string) – Player's license.
Returns: (table) – List of SIM cards.
✅ Example:
➡️ Displays all SIM cards owned by the player with license:123456.
➤GetPlayerBySimCardNumber
📌 Checks which player owns a specific phone number.
phoneNumber (number) – Phone number to check.
Returns: (string or nil) – Player's license or
nil
if the number is unregistered.
✅ Example:
➡️ Checks who owns number 5551234.
➤ GetAllActiveNumbers
📌 Retrieves a list of all active phone numbers.
Returns: (table) – List of active phone numbers.
✅ Example:
➡️ Displays all active phone numbers.
Client Exports 📱
➤ GetActiveNumber
📌 Retrieves the player's currently active phone number.
Returns: (number) – The active phone number or
0
if no SIM card is active.
✅ Example:
➡️ Displays the active phone number or informs the player if no SIM is active.
Last updated