Quote:
Originally posted by 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.

|
its
keydown2(keycode(t),false)
Quote:
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
|
Kai would choose the first, since the checks are related
oman, Loriel's script is crazygonuts, I never thought to use tokenize like that
