LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Mon Oct 05, 2015 5:19 am Post subject: copying key input |
|
|
I have 2 clients of the same game running, let's call them clientA and clientB.
I want to read the key input of a specific key (let's choose the L key for instance) and copy it to clientB so that as soon as I press L on clientA manually it will also be pressed on clientB.
I think that I will need keyDown(76) and keyUp(76) for this as well as isKeyPressed(76) but I don't know how to make it work.
I tried to simply run in the Lua engine to try ouzt the functionality of this code but nothing happens in the game.
EDIT: I found a different way to do it: multiboxing with the freeware octopus.
But I am still interested in how to do it with CE
|
|