Неработает скрипт на поднятие предметов. (мой 1й скрипт :) )

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Dron D.
Posts: 190
Joined: 2004-12-13 01:27:00

Неработает скрипт на поднятие предметов. (мой 1й скрипт :) )

Post by Dron D. »

Поднимает только первый предмет, а второй отказывается :)
в чем проблема?

Code: Select all

sub pickup()
var m
DIM topick[2]
topick[1] = '0x09AA'
topick[2] = '0x0E7D'
for m = 1 to 2
uo.exec("set finddistance 5")
repeat
wait(100)
uo.findtype(topick[m],'-1','ground')
if uo.findcount()>0 then
CheckLag()
UO.Grab('0','finditem')
CheckLag()
endif
until uo.findcount()==0
end sub

:?: :?:
GambiT
Posts: 59
Joined: 2008-01-26 22:35:57

Post by GambiT »

мне почему то кажется что вся загвоздка в массиве... не уверен что findtype может массив понимать
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

next унего нет...
GambiT
Posts: 59
Joined: 2008-01-26 22:35:57

Post by GambiT »

точно ;)
Dron D.
Posts: 190
Joined: 2004-12-13 01:27:00

Post by Dron D. »

спасиб парни :)
Post Reply