Thread
:
onKeyPressed()
View Single Post
#
5
08-21-2009, 05:21 PM
DustyPorViva
Will work for food. Maybe
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
PHP Code:
function
onKeyPressed
() {
if (
keydown
(
0
-
3
)) {
player
.
chat
=
"arrow key pressed"
;
}
}
keydown(int) can be used along with onKeyPressed() to detect default key configurations.
DustyPorViva
View Public Profile
View GraalOnline Profile
Find all posts by DustyPorViva