From Stealth Client

Jump to: navigation, search


CloseSimpleGump

procedure CloseSimpleGump(GumpIndex:Word)

Closes the "easy" to index Gump GumpIndex

Closes specials. way, without pressing any buttons on them - as it happens in the client when you press the right mouse button.

Example:

If IsGump then
  if IsGumpCanBeClosed(GetGumpsCount-1) then
    CloseSimpleGump(GetGumpsCount-1);