Jump to content
RAGE Multiplayer Community

Recommended Posts

Hi, I'm new in RAGE MP, so i wanna know, how to save user data while he's playing, for example money. Can I use:


player.ServerMoney = 5000; even if player doesnt contain this propery.


So, what i should do?

Link to post
Share on other sites
  • 2 months later...

You need to write this in your Player Database:


public int PocketMoney { get; set; }

public int BankMoney { get; set; }

after that you can change this variable in scripts.

variable will save in these codes in your Data base, if you using LiteDB, i can tell you how to do it in PM

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...