GetGumpSerial
Returns the serial number for the gump at index GumpIndex in the Stealth gump list.
Returns 0 if the index is out of range or the character is disconnected.
Note: Gump serials can be unique, but this is not guaranteed — it depends on the shard.
Возвращает серийный номер гампа с индексом GumpIndex в списке гампов Stealth.
Возвращает 0, если индекс вне диапазона или персонаж не подключён.
function GetGumpSerial(GumpIndex: Word): Cardinal;
def GetGumpSerial(GumpIndex: int) -> int: ...
begin
AddToSystemJournal('Gump serial: ' + IntToHex(GetGumpSerial(0), 8));
end.
AddToSystemJournal(f'Gump serial: {GetGumpSerial(0):08X}')