setTimeout giving arguments to function from another function

andr15

New Member
Got a problem, don't know how can I give to ClickSimClick function arguments exposed by ClickSimMove func (it returns array with 2 values).Code below says that crd is undefined on setTimeout. \[code\]var crd = plugin().ClickSimMove();setTimeout("plugin().ClickSimClick(crd[0], crd[1])", 1000);\[/code\]
 
Back
Top