📱
APhone
  • What is APhone ?
  • Installation
    • Workshop
    • Configuration ( Lua part )
    • Configuration ( In-game )
  • How you make your own apps
    • Create your first app
    • App functions
    • App Metas
    • Tips you NEED to know
  • API ( Clientside )
    • Parameters ( Clientside )
    • UI - General Functions
    • UI - Required Functions
    • UI - Colors
    • UI - Fonts
    • UI - Web/Imgur Pictures
    • UI - Renderview
    • UI - Stencils
    • UI - Panels
    • Notifications
    • Rotate functions
  • API ( Shared )
    • Numbers
  • API - App Specific
    • Contacts ( Clientside )
    • Messages ( Clientside )
    • Bank ( Shared )
Powered by GitBook
On this page
  • PLAYER:aphone_GetID()
  • aphone.GetNumber(int id)
  • PLAYER:aphone_GetNumber()
  • aphone.GetName(player/aphone_id e)

Was this helpful?

  1. API ( Shared )

Numbers

Functions related to numbers.

PLAYER:aphone_GetID()

Return SQL ID of the user

aphone.GetNumber(int id)

Use this function only for offline IDs, if the player is connected, use aphone_GetNumber player meta to avoid any collision numbers

Return the number-formatted ID

PLAYER:aphone_GetNumber()

Get number of a player

aphone.GetName(player/aphone_id e)

Return the name of the player. Will search in this order

Contact name -> If Player, return name -> Return number-formatted ID

Only Exist Clientside

PreviousRotate functionsNextContacts ( Clientside )

Last updated 4 years ago

Was this helpful?