MenuMode (Function)

Revision as of 10:05, 24 February 2006 by imported>Maturin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

 MenuMode MenuType (optional)

Example:

 if (MenuMode == 0)
 if (MenuMode 1036 == 1)


NOTE: MenuMode can be used either as a function or a block type.

With no parameter, this function will return 1 whenever the game is NOT in gamemode.

If you include a parameter, the function will return 1 when the menutype (or specific menu) is being displayed.


See MenuMode for a list of menu types.