From Stealth Client

Jump to: navigation, search


Grab

function Grab(ItemID:Cardinal; Count:Integer):Boolean

Move the object with the specified ID(ItemID) and the number(Count) in the backpack of the character. Important:The F-function is based on a bunch of F-functions:DragItem() + DropItem(), so if you want to understand how this will work - examine carefully the work of faculty functions Doc:Api/DragItem and Doc:Api/DropItem.

See also: Doc:Api/DragItem, Doc:Api/DropItem