Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Disarm

Disarms both (right and left) hands

Iterates through the layers of both hands and calling UnEquip for these layers.

If char disconnected, or the movement of the object from hand to the backpack failed - will return False.

Pascal

function Disarm : Boolean;

Python

def Disarm() -> dictionary

Example Pascal

if ObjAtLayer(RhandLayer)<>0 then
begin
  Disarm;
  wait(1000);
end;