GetGumpSerial
Returns Serial ID for gump with list index GumpIndex
Returns 0 if gump index incorrect (out of gumps list) or char disconnected.
NB: SerialID CAN BE unique, but thats not a rule!
Pascal Syntax:
function GetGumpSerial(GumpIndex : Integer) : Cardinal;
Pascal Example:
If GetGumpsCount > 0 then
if GetGumpSerial(GetGumpsCount-1) = $15A7DDF then
CloseSimpleGump(GetGumpsCount-1);
Pascal Example 2:
Python Syntax:
def GetGumpSerial(GumpIndex): --> uint