[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
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).
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.
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