Giter Site home page Giter Site logo

[Upgrade Request] Conversion about smrpg HOT 4 CLOSED

DeewaTT91 avatar DeewaTT91 commented on September 15, 2024
[Upgrade Request] Conversion

from smrpg.

Comments (4)

WanekWest avatar WanekWest commented on September 15, 2024

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.

from smrpg.

DeewaTT91 avatar DeewaTT91 commented on September 15, 2024

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.

from smrpg.

WanekWest avatar WanekWest commented on September 15, 2024

Try this.

smrpg_upgrade_convertion.txt

from smrpg.

DeewaTT91 avatar DeewaTT91 commented on September 15, 2024

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 :)

from smrpg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.