![]() |
|
|
Narzędzia tematu | Wygląd tematu |
|
|
#1 | |
|
Newbie
Data dołączenia: May 2009
Posty: 20
Podziękowań: 0
Podziękowano mu 6 razy w jednym poście.
![]() |
Boce kumplowi hara na ultra ots i mam skrypt na strzelanie z sd :
Cytat:
|
|
|
|
|
|
|
#2 |
|
PWJ Na 200%
Data dołączenia: Sep 2008
Skąd: Tczew
Posty: 1,384
Podziękowań: 35
Podziękowano mu 152 razy w 74 postach.
![]() ![]() ![]() ![]() ![]() ![]() |
A jaki nr linii?
|
|
|
|
|
|
#3 |
|
Newbie
Data dołączenia: Dec 2008
Posty: 16
Podziękowań: 2
Podziękowano mu 0 razy w 0 postach.
![]() |
Kod:
Const
Hmm=3155; // enter the ID of HMM rune.
MiniHealth=400; // enter the minimum hp valuse so if your hp is lower then that,
//it wont shoot hmm so you wont get exusted and will be able to auto uh.
var
Creature:TCreature;
LOCKID:integer;
function GetCreatureByID(ID: integer): TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x >= Creatures.Count then Break;
if Creatures.Creature[x].ID = ID then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;
function GetCreatureByName(Name: String): TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x >= Creatures.Count then Break;
if Creatures.Creature[x].Name = Name then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;
begin
while not Terminated do
begin
updateworld;
Creature:=GetCreatureByName('Warlock');
if Creature<>nil then
begin
LOCKID:=Creature.ID;
While Creature <> nil do
begin
If self.Health>MiniHealth then
Self.Containers.UseItemWithCreature(Hmm, Creature);
Sleep(100);
updateworld;
Creature:=GetCreatureByID(LOCKID);
end;
end;
Sleep(100);
end;
end;
pozdro |
|
|
|