Deleted User Posted May 8, 2013 Posted May 8, 2013 (edited) REMOVED Edited June 5, 2017 by Kaze Quote
Jaburak Posted May 8, 2013 Posted May 8, 2013 Try this; function script SWPackage { setarray .@items[0],501,502; setarray .@qtys[0],1,1; if (!checkweight2(.@items,.@qtys)) { mes "You're overweight!"; Quote
Yudax Posted May 8, 2013 Posted May 8, 2013 A script from sir Emistry just change the item#, replace your getitem with this if( checkweight( 7037,.@num ) ){ getitem 7037,.@num; delitem 607,.@num*500; }else{ mes "You are Overweight"; } Quote
Emistry Posted May 10, 2013 Posted May 10, 2013 since you are using array to store all the item list... you can use this to check.. if( checkweight2( .SWitems,.SWquantities ) ){ // getitem }else{ // overweight. } Quote
Question
Deleted User
REMOVED
Edited by Kaze3 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.