CloseSimpleGump
Close Gump with index in Stealth Gumps List GumpIndex NB: Only Gump with missing propert “noclose” can be closed. Use method IsGumpCanBeClosed to check, if gump can be close this way.
Pascal
procedure CloseSimpleGump(GumpIndex : Word);
Python
def CloseSimpleGump(GumpIndex)
Example Python
If IsGump then
if IsGumpCanBeClosed(GetGumpsCount-1) then
CloseSimpleGump(GetGumpsCount-1);