Page 1 of 1

how do use sleep or delay?

Posted: Tue Mar 07, 2017 8:16 am
by ll8082
how do use sleep or delay?
as:

Code: Select all

 
Move(1778, 1669, 197);
Sleep(1000);
Move(1699, 1769, 189);
Sleep(1000);
Move(1592, 1769, 194);
  

Re: how do use sleep or delay?

Posted: Tue Mar 07, 2017 11:09 am
by agonic
it should be "timer=Time() + delay"

Re: how do use sleep or delay?

Posted: Tue Mar 07, 2017 3:46 pm
by ll8082
ok i see. thank for help .

i see function " PlayerInput:Escape(); " so can i use a other key ? as: PlayerInput:Tab(); or PlayerInput:F1(); or PlayerInput:1();

Re: how do use sleep or delay?

Posted: Tue Mar 07, 2017 6:50 pm
by agonic
I guess no. They are prescribed. But the others

Re: how do use sleep or delay?

Posted: Wed Mar 08, 2017 9:36 am
by 0x00
Those kind of functions have to be declared in the actual source code of the DLL file. It uses the chat_dialog_input dialog to input commands!

besides, those kind of keys are redundant to put in. Why? You can use LUA to do everything you need.