3 вопроса =)

Ask for help

Moderators: Murderator+, Murderator

stickman
Posts: 139
Joined: 2005-04-05 04:13:24
Location: DRW
Contact:

Post by stickman »

а еще.. через uo.press можна нажимать Alt, Ctrl ? и где на них брать код.. инжектовское окошко 'Key Code' не дает )
korzh
Posts: 220
Joined: 2007-04-26 23:35:15

Post by korzh »

Code: Select all

uo.say( chr( 27 ) ) ; esc
uo.say( chr( 17 ) ) ; ctrl
uo.say( chr( 18 ) ) ; alt
uo.say( chr( 16 ) ) ; shift
uo.say( chr( 13 ) ) ; enter
stickman
Posts: 139
Joined: 2005-04-05 04:13:24
Location: DRW
Contact:

Post by stickman »

благодарю. и тогда еще вопрос: как нажимать комбинации клавиш, допустим Ctrl-Alt-Del
korzh
Posts: 220
Joined: 2007-04-26 23:35:15

Post by korzh »

Скорее всего нет
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Можно пользовать uopilot..
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
korzh
Posts: 220
Joined: 2007-04-26 23:35:15

Post by korzh »

Destruction wrote:Можно пользовать uopilot..

вспоминая топ про альт+клик.. еще и хекс эдитор..
stickman
Posts: 139
Joined: 2005-04-05 04:13:24
Location: DRW
Contact:

Post by stickman »

а какую функцию выполняет

Code: Select all

return
в скрипте?
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

return не выполняет функцию, а возвращает данные из функции и соответственно завершает исполнение функции.

simple exmaple:

Code: Select all

sub main()
    uo.print( test() )
endsub

sub test()
    return "Hello World !"
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
stickman
Posts: 139
Joined: 2005-04-05 04:13:24
Location: DRW
Contact:

Post by stickman »

благодарю ,)

как проверить есть ли определенная вещь в руке?
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

uo.objAtLayer()
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
Post Reply