Closed DeewaTT91 closed 1 year ago
Try this. On round start it will exchange.
To translate add: Conversion
smrpg_upgrade_convertion.txt
P.s. Git wont to see .sp files. Just change it name for smrpg_upgrade_convertion.sp and compile it.
I tested it, but it does nothing. I also changed the value from 16000 to 12000 to check if there would be any impact, but it does neither add exp nor subtract money from the player.
I remember that there used to be addons that would add all the excess money a player has to a "bank" from which you could withdraw later when you didn't have enough money. So there is definately a way to get to the excess money above 16000.
Try this.
Thanks a ton for your effort! It didn't work right away, but I have edited it abit and now it works for the most part.
The one thing that doesn't work is resetting the clients money to 10000 (I changed it from 16000 to 10000 because I think we cannot really access any value above 16000).
So this function doesn't seem to work.
SetEntProp(client, Prop_Send, "m_iAccount", 10000);
smrpg_upgrade_convertion2.txt
Edit:
Turns out I just had some compatibility issues with another plugin called ReverseCashFlow.smx. It works now. I've taken the liberty of adjusting it a bit if you don't mind :)
In Counter Strike there is little to none incentive to be conservative with your money when you are winning alot. At some point you will always have 16000$ and all the excess money goes to waste. So how about a Skill called Conversion:
Conversion allows the player to turn excess money into credits. Lvl 1 Conversion turns every 100$ above 16000 into 1 exp Lvl 2 Conversion turnst every 100$ (or could be changed depending on lvl to maybe 99) into 2(depending on level) exp and so on.