nasagnilac Posted November 13, 2013 Group: Members Topic Count: 89 Topics Per Day: 0.02 Content Count: 232 Reputation: 15 Joined: 11/02/13 Last Seen: December 19, 2024 Share Posted November 13, 2013 hello guys I just need help on this codes for( .@i = 0; .@i < getarraysize( .@PItem ); set .@i, .@i + 1 ) set .@menu$,.@menu$ +" "+getitemname( .@PItem[.@i] )+":"; .@i = select(.@menu$); set .@NItem,6396; //Auger of Spirit set .@NAmount,1; //Amount setarray .@PItem[0], 2201, 2286, 5068, 5074; setarray .@PAmount[0], 1, 1, 1, 1; setarray .@PResult[0], 2202, 18507, 18518, 18519; when Im picking sunglasses. I got the wrong ingredients as you can see here. Quote Link to comment Share on other sites More sharing options...
Patskie Posted November 13, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 14 hours ago Share Posted November 13, 2013 Try : - .@i = select(.@menu$); + .@i = select(.@menu$) - 1; Quote Link to comment Share on other sites More sharing options...
Question
nasagnilac
hello guys I just need help on this codes
when Im picking sunglasses.
I got the wrong ingredients as you can see here.
Link to comment
Share on other sites
1 answer 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.