how do use sleep or delay?

Post Reply
ll8082
Posts: 14
Joined: Tue Feb 28, 2017 2:40 pm

how do use sleep or delay?

Post by ll8082 » Tue Mar 07, 2017 8:16 am

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);
  

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: how do use sleep or delay?

Post by agonic » Tue Mar 07, 2017 11:09 am

it should be "timer=Time() + delay"

ll8082
Posts: 14
Joined: Tue Feb 28, 2017 2:40 pm

Re: how do use sleep or delay?

Post by ll8082 » Tue Mar 07, 2017 3:46 pm

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();

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: how do use sleep or delay?

Post by agonic » Tue Mar 07, 2017 6:50 pm

I guess no. They are prescribed. But the others

User avatar
0x00
VIP
Posts: 105
Joined: Tue Jan 10, 2017 11:40 pm
Has thanked: 10 times
Been thanked: 23 times

Re: how do use sleep or delay?

Post by 0x00 » Wed Mar 08, 2017 9:36 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest