How can I make it use a direction key too? this isn't working. And also, you have to press them one at a time til they are all pressed. You can't hit them at same time for some reason.
PHP Code:
//#CLIENTSIDE
function GraalControl.onKeyDown(temp.code, temp.key) {
if (! this.key.(@ temp.key)) {
this.key.(@ temp.key) = true;
if (temp.key in {"c", (keydown(3)), "v"} && this.key.c && this.(keydown(3)) && this.key.v) {
player.chat = "combo attack!!";
}
}
}
function GraalControl.onKeyUp(temp.code, temp.key) {
this.key.(@ temp.key) = false;
}