GetMenuPool

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

Client-side Function Description

Dialog-warning.png API.getMenuPool() was removed in Version 0.1.638.634 See Deprecated for more information.

Syntax

API.getMenuPool();

NOTE: This function returns data in MenuPool type.

Usage example(s)

var mainWindow = API.createMenu("Sample Window", 0, 0, 6);
var menuPool = API.getMenuPool();
menuPool.Add(mainWindow);

API.onUpdate.connect(function(sender, events) 
{
   menuPool.ProcessMenus();
});

References