IsInterfaceEnabled()
Returns 1 if the player interface is currently enabled, 0 if it is disabled.
The user interface is disabled while the cursor is set to the Wait cursor -
ie. while the character is performing a blocking Walk, or other blocking
action.
Example:
if (IsInterfaceEnabled())
DisableInterface();
will disable the user interface if it's enabled.
See Also: DisableInterface, EnableInterface
|