ScriptEvent:allocHudModule

From Mod Wiki

Parameters

string gui -- Name of the gui to use.
integer sort -- Sort value to use.
boolean allowInhibit -- Whether this overlay will be disabled along with the rest of the hud.

Result

integer

Supported By

sdSysCallThread

Comments

  • If allowInhibit is enabled, the overlay will not be drawn if hud drawing is disabled.
  • The result may be used in calls to setGUIFloat, etc.

Functionality

Allocates a hud overlay using the specified gui.