From Stealth Client

Jump to: navigation, search


function BankLayer():Byte

Returns the layer number 0x1C - His bank container(PC Bank Box). In the container of this layer:

  • Available information on this layer for a char.
  • Not available.
  • Do not open a Doc:Api/UseObject, and similar functions.

Example 1:

if ObjAtLayer(BankLayer) > 0 then 
  AddToSystemJournal('Bank Box ID:' + IntToStr(ObjAtLayer(BankLayer)));