Quote:
Originally Posted by Tigairius
PHP Code:
function onKeyPressed(c) {
player.chat = c;
}
|
I might as well point out that you can do this in GS1 too, for those of us who are stuck using just the offline editor but want to get keycodes for some reason.
PHP Code:
if (keypressed) {
setplayerprop #c, #p(0);
}