Lord Ganja Posted March 4, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Share Posted March 4, 2015 Can anyone help me modify this ITEM REWARDS script by Euphy ? Basically I wanted to remove the Packages. instead put an array of item id's that can be rewarded and specify its amount. Then put it in the logs like this: GM_NAME sent ITEM_AMOUNTx ITEM_NAME to PLAYER_NAME Example: Instead of Package # options which is: set .PackageCount,3; setarray .Package1[0],501,1,502,2,503,3; setarray .Package2[0],601,5,602,10; setarray .Package3[0],607,10; It would be like this: setarray .itemid_reward[0],501,502,503,and so on; About the amount: set .MaxAmount,50; . . . . . . . . . . . . . . . . //when entering the amount input .@item_amount; if(.@item_amount > .MaxAmount) { mes "[Item Rewards]"; mes "Sorry, you're beyond the limits."; close; } Sorry, I couldn't modify the script by myself. Anyway thanks in advance for those who could help me. Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted March 6, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted March 6, 2015 **BUMP!! Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted March 9, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted March 9, 2015 *****BUMP! Quote Link to comment Share on other sites More sharing options...
Question
Lord Ganja
Can anyone help me modify this ITEM REWARDS script by Euphy ?
Basically I wanted to remove the Packages. instead put an array of item id's that can be rewarded and specify its amount.
Then put it in the logs like this: GM_NAME sent ITEM_AMOUNTx ITEM_NAME to PLAYER_NAME
Example:
Instead of Package # options which is:
It would be like this:
About the amount:
Sorry, I couldn't modify the script by myself. Anyway thanks in advance for those who could help me.
Link to comment
Share on other sites
2 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.