Thread: keydown!!
View Single Post
  #5  
Old 08-03-2002, 09:59 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
'keydown' isn't like a 'playertouchsme' command you have to contantly check for it through a timeout loop...

NPC Code:

if (created) {
timeout=0.05;
}
if (timeout) {
if (keydown(#)) {
stuffs();
}
timeout=0.05;
}

Reply With Quote