as title, i have all 3 items in my inventory but somehow the script did not detect my item and keep saying i dont have enough..?
Spoiler
if(countitem(40024)<1| countitem(40031)<1| countitem(40027)<1){
mes "^ff0000 Require";
mes "1 Big Boulder";
mes "1 Green Stalk";
mes "1 Green Tree Branch ^000000";
close3;}
soundeffect "menu.wav",0;
mes "^8fce00 Require";
mes "1 Big Boulder";
mes "1 Green Stalk";
mes "1 Green Tree Branch ^000000";
next;switch(select("- Start Crafting: - Cancel")){case1:
mes "Crafting";
soundeffect "gathering.wav",0;
addtimer 11,strnpcinfo(0)+"::OnTest";
progressbar "0x00ff00",11;
next;
soundeffect "menu.wav",0;
delitem 40024,1;
delitem 40031,1;
delitem 40027,1;
getitem 40030,1;
wep_points +=1;
dispbottom "Gain +1 Weapon Crafting Points";
close3;case2:goto cancel;}
Question
Dolphin86
as title, i have all 3 items in my inventory but somehow the script did not detect my item and keep saying i dont have enough..?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.