Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
Dla mnie to pomocy nie będzie?
auto 200 healparalysis exura
Ostatnio zmieniony przez Gray : 19-02-2009, 21:50
const SpearID = 3277;
PickupAmount = 4;
MinAmount = 3;
Function GMDetected: boolean;
begin
Result := False;
UpdateWorld;
for x := 0 to Creatures.Count - 1 do
begin
if Creatures.Creature[x].GM then
Result := True;
end;
end;
function GetItemFromOpenBackpack(ID: integer): TItem;
var
y: integer;
begin
Result := nil;
for x := 0 to Self.Containers.Count - 1 do
begin
if x >= Self.Containers.Count then Break;
for y := 0 to Self.Containers.Container[x].Count - 1 do
begin
if y >= Self.Containers.Container[x].Count then Break;
if Self.Containers.Container[x].Item[y].ID = ID then
begin
Result := Self.Containers.Container[x].Item[y];
Exit;
end;
end;
end;
end;
begin
while not Terminated do
begin
UpdateWorld;
if ((Self.RightHand.Amount < MinAmount) and (not GMDetected)) then
begin
Spear := GetItemFromOpenBackpack(SpearID);
if (Spear <> nil) then
Spear.MoveToBody(Self.RightHand, PickupAmount);
end;
Sleep(100);
end;
end;
Ostatnio zmieniony przez Gray : 20-02-2009, 15:44
Ostatnio zmieniony przez Yju123 : 21-02-2009, 13:25
Ostatnio zmieniony przez Yju123 : 21-02-2009, 13:39
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki