Lord Ganja Posted March 4, 2015 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
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.
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.