... Actually none of them repeat, unless you hold them down too long, make sure your keyboard settings don't repeat keys too fast. If not that, it's lag, use a timeout and check that the key wasn't down last time it was checked.
weapon;
NPC Code:
//#CLIENTSIDE
if (keypressed) {
if (keydown(5)) {
this.c++;
setplayerprop #c,#v(this.c);
}
if (strequals(#p(1),d)) {
this.d++;
setplayerprop #c,#v(this.d);
}
if (keydown2(keycode(a),false)) {
this.a++;
setplayerprop #c,#v(this.a);
}
}
toAndy: keydown is a flag, it can't "read fast"