[ZP50] Addon: Items Discount
2 Attachment(s)
[ZP50] Addon: Items Discount Description:- Its just a Rip off from The item limiter plugin i made. Made this for one of my friend's server. Thought some people might find it useful. So Basically this plugin gives player a kind of "discount" on extra items. The discount and on which item can be edited from the zp_extra_discount.ini (Note:- The discount is always in % so if u keep it 100 then the item will be free and if more than 100 then people will actually gain AP instead of losing them when purchasing that item) This plugin will also add a small notice with the given discount on any extra item that is in the .ini file. It has plenty of good uses like you can Give 50% discount on heavy items on weekends to attract more players or change the discounts and add new deals daily and so on.... How to add items and discount to them :- Step 1: Find the extra items register name. It is given inside any extra item's code in its register function http://i61.tinypic.com/xao2hi.jpg Step 2: Copy and paste that name without the quotes in the "zp_extra_discount.ini" file in "item_id" section and in "item_discount" section put the desired discount (Note: As i mentioned earlier the discount is in % so keep it less than 100). http://i57.tinypic.com/awc37b.jpg Step 3: Save the "zp_extra_discount.ini" and close it. (No change needs to be made in the .sma file of the extra item.) Note: To add more than 1 extra item in the list, just add a coma after the previous extra item id in the zp_extra_discount.ini and add the id of this other extra item after the coma. http://i60.tinypic.com/2l8b79u.jpg Bugs : - None. Report if u find any. Although there is one thing. Do not put more than 128 items in the zp_item_discount.ini at one time, or it will give you errors. My Note:- Dont PM me for anything related to this topic, post it here......... Change log:- v1.0 Release Servers Using this plugin: 74.91.119.56:27015 |
Re: [ZP50] Addon: Items Discount
Thank you. :up:
I have never think about a plugin that can give discount. :idea: I have tried it in my ZP 5.0.5 server and it works. When we open the extra items menu, there will be a discount tag. Example: Quote:
Thank for sharing. :wink: |
Re: [ZP50] Addon: Items Discount
Quote:
|
Re: [ZP50] Addon: Items Discount
Interesting, thx for share..
|
| All times are GMT -4. The time now is 14:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.