sub drink_gh() repeat repeat wait(500) until uo.hits>60 uo.findtype('Тип бутлы','цвет бутлы','ground'); if uo.findcount()>0 then uo.useobject('finditem') else uo.print('Нет бутылей') goto end endif until uo.dead() uo.print('Вы умерли') end: endsub
YokoInjection CodeSweeper Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
А какие проблемы? Я с ходу написал неработающий скрипт? Ну так исправьте, а не флудите.
YokoInjection CodeSweeper Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
а зачем указывать цвет бутылки ? Разве одного типа будет не достаточно ?
Дело в том, что обычно бутыльки имеют один тип. Это объясняется сразу когда мы вспоминаем, что у нас не просто тип, а графический тип, т.е. нафига делать несколько разных по-цвету бутылок, когда можно сделать одну и раскрасить непосредственно в уо.
YokoInjection CodeSweeper Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom