ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isTrayNotificationEnabled

Function

isTrayNotificationEnabled

ClientInput and controlsIdentical to MTA:SA

Checks whether the client supports system notifications (createTrayNotification). It returns false in the current version.

Syntax

bool isTrayNotificationEnabled()

Returns

true when notifications work.

Example

outputChatBox("Powiadomienia: " .. tostring(isTrayNotificationEnabled()))

See also