Hello. I'm looking for a code that will let me store people's money. Here's how it should work:
Player changes difficulty by some command, his and EVERYONE else's money is stored, after it's stored the server proceeds to restart the round (in order to change some cvars). Once the restart is done, the player's get their money back.
It would be easy for just 1 person, the guy who changes the difficulty with cs_get_user_money and cs_set_user_money, but storing multiple values then setting them is troublesome.
I was thinking of storing it into an array, but I don't know how to store into array's or read data from them.