isTrayNotificationEnabled | Multi Theft Auto: Wiki Skip to content

isTrayNotificationEnabled

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function returns a boolean value whether the client has enabled tray notifications in his settings or not.

Syntax

isTrayNotificationEnabled ( )

Code Examples

client
addCommandHandler("traynotifs",
function ()
if isTrayNotificationEnabled( ) then
outputChatBox( "* Tray notifications are enabled" )
else
outputChatBox( "* Tray notifications are disabled" )
end
end
)