Thread: -keyNOTdown(i)
View Single Post
  #10  
Old 01-06-2004, 03:13 PM
D1ce2 D1ce2 is offline
Registered User
Join Date: Dec 2003
Location: United Kingdom
Posts: 446
D1ce2 is on a distinguished road
Send a message via AIM to D1ce2 Send a message via Yahoo to D1ce2
Isnt there a quick key in here?
I forgot how it goes but it's like
NPC Code:

if(playerenters)
timeout=0.05;

if(timeout){
if(keypressed){
if(keydown(t),true){
bla;
}
}
timeout=0.05;
}


I forgot maybe it is wrong, o-well I tried.

If you don't want it detecting add a key (!)
like
NPC Code:

if(!bla && !bla2 && !bla3 && !bla4)){
//bla
}


Or as kai would do:
NPC Code:

if(!bla){
if(!bla2){
if(!bla3){
if(!bla4){
//bla stuff
}
}
}
}



As it's easier to read;P
__________________

The time is coming
Reply With Quote