📱
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
  • aphone.Contacts.GetName(int id)
  • aphone.Contacts.Add(int id, string name)
  • aphone.Contacts.ChangeName(int id, string name)
  • aphone.Contacts.Remove(int id)
  • aphone.Contacts.GetContacts()

Was this helpful?

  1. API - App Specific

Contacts ( Clientside )

All the functions of contacts

aphone.Contacts.GetName(int id)

Return the name of the contact, nil if the contact doesn't exist

aphone.Contacts.Add(int id, string name)

Add the id + name into the contact table. Will return true if contact already exist.

aphone.Contacts.ChangeName(int id, string name)

Change the name of the contact, will make nothing if the contact doesn't exist

aphone.Contacts.Remove(int id)

Remove the contact from the contact list

aphone.Contacts.GetContacts()

Return contact list

PreviousNumbersNextMessages ( Clientside )

Last updated 4 years ago

Was this helpful?