OnMenuVisibilityChanged

From GT-MP
Jump to: navigation, search
OnMenuVisibilityChanged
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Called every time the visibility of a menu is changed.

Usage example(s)

menu.OnMenuVisibilityChanged.connect(function (sender, visible)
{
   API.sendChatMessage("Is my menu visible? " + visible);
});

References