Shop Discount
Hello to everybody reading this thread right now.
I've came across a splendid idea, which would be great addition to my already done plugin. The thing is that I wanted to create discount in my shop (using % as value) for each kill they make, so whenever they kill another player, they get -1% for all items in the shop. I've already made an example of that code and even took attempt to do that however I failed because I didn't know how to state the regressing price on the menu. Perhaps you would give me advice on how to do that or even edit the code by yourself and show me the results. Don't mind that I used my national language on it. |
Re: Shop Discount
Here's the easiest way.
Code:
|
Re: Shop Discount
If you want to use my shop, I can easily make such a thing happen because it has an option to set a discount for players. Here's an example for VIP discount using a sub-plugin.
|
Re: Shop Discount
Hello, I have either good and bad news, without further do I will start with the good one first:
So I finally managed to make my plugin work properly, the biggest accomplishment was certainly putting variables into menu which was literally painful at the first glance. But here I am with fully working plugin, nothing else I need. Although, the bad one is that I didn't use none of yours code, I am grateful for helping me nonetheless, I would say that your contribution wasn't at all wasted cause it was an epiphany for me to get through my code. Thanks, I wish you all great 2018. |
Re: Shop Discount
Best reply to start 2018.
Figuring out stuff by yourself. |
All times are GMT -4. The time now is 15:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.