Quote:
|
Originally Posted by Yen
A+D will change weapons. It's possible that it's returning strequals(#p(1),a) as always being true?
|
I don't think that's why it's returning true, but it is why it's switching weapons. take a look at what he's checking for:
PHP Code:
function onKeypressed(){
if (keydown2(keycode(a),false)&&this.inuse==1) {
He's checking for D and A :P