View Single Post
  #8  
Old 03-19-2004, 02:29 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
no idea why it was repeating the keydown command but i DID end up fixing it by making a quick pause in the (actionact) part
NPC Code:

if (actionact) {
if (this.itemcount>0){
if (this.wait==0){
if (lindexof(#s(this.item),client.inv)==-1){
addstring client.inv,#s(this.item);
addstring client.invcount,1;
this.itemcount--;
pause();
}
else {
replacestring client.invcount,lindexof(#s(this.item),client.inv) ,#v(strtofloat(#I(client.invcount,lindexof(#s(this .item),client.inv)))+1);
this.itemcount--;
pause();
}
}
update();
}
else {
destroy;
}
}



im all curious about the repeatingness now... X_x a bug?
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote