📱
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.AddNotif(string type, string msg, int cd)
  • Types

Was this helpful?

  1. API ( Clientside )

Notifications

Use these functions to make it easier for you

aphone.AddNotif(string type, string msg, int cd)

Parameters

Purpose

Type

Type of your notification, Optional, see below

msg

The text displayed

cd

How long does it stay

Types

Type ID

Purpose

alert

Alert

bell

Information

good

Valid action

[APP NAME]

If type is equal to a app name. Will use color and icon of this app.

aphone.AddNotif("alert", "This is a example !", 3)
aphone.AddNotif("good", "This is a example !", 3)
aphone.AddNotif("settings", "This is a example !", 3)
PreviousUI - PanelsNextRotate functions

Last updated 4 years ago

Was this helpful?