Thread: Keydown...
View Single Post
  #8  
Old 03-15-2001, 10:53 PM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
I have tried those, they do not work, I have tried the following ways:
NPC Code:

if (playerenters || timeout) {
timeout = 0.05;
}
if (timeout && keydown(032)){
setplayerprop #c,test;
timeout = 0.05;
}
if (timeout && strequals(#K,032)){
setplayerprop #c,test;
timeout = 0.05;
}



Do these work for other people? I have tried other ASCII numbers for other keys, but for some reason it doesnt work at all...
I think somehow I have to use #K(key) with the brackets since message #K(050); works fine and siplays the number 2.
Reply With Quote