We've moved! Join us as we continue development on our new site at umod.org!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. Hello, is it possible to save data/variables etc to player element/session?

    Here is example of function in another game: SetElementData - Multi Theft Auto: Wiki

    It looks like:

    session.setData("Level",1)

    and we can get this variable later by:

    session.getData("Level") (Returns: 1)
     
    Last edited by a moderator: Jul 18, 2018
  2. Wulf

    Wulf Community Admin

    No, you'd need to store that data in a dictionary or data file in your plugin.