Quote:
|
Originally Posted by Aethorpe
I am talking about using any key from the keyboard, not just default commands, like A,S,D,Q,M,Tab, etc.
|
Then this thread should be named 'keydown2?'
PHP Code:
if(keypressed) {
setplayerprop #c,#p(0) pressed.;
}
or if you want ones that don't work with keypressed,
PHP Code:
if(timeout) {
for(i=0;i<255;i++) {
if(keydown2(i, false)) {
setplayerprop #c,#v(i) pressed.;
}
}
}