Code: Select all
Program HungryMob;
Const
Enemy = $00049B59; // ИД животного
HungryTime=10000; // интервал времни кормки
Meat=$09F1; // тип еды
{$Include 'all.inc'}
Begin
SetARStatus(true);
clearjournal;
while true do
begin
if Connected then
begin
while true do
begin
CheckSave;
MoveItem(findtype(Meat,backpack),1,Enemy,0,0,0);
AddToSystemJournal('Осталось мясо ' + IntToStr(FindFullQuantity));
Wait(HungryTime);
end;
end;
end;
End.
подскажите в чем трабл ?