Custom Bank
-
This post is deleted!
-
I edited your post to make the link clickable, also it seems like you don't have any persistance for the bank included.
-
This post is deleted!
-
Normally I would tell you to write it into the profile data of the player (just like the vanilla bank script does) but that seems to not stick for some players. Without that there really isn't much of what you can do when the script is running on a client / listen server.
IMHO without reinventing the wheel you could try the following approaches:- You could write the data in a dvar so it will at least survive until the game is restarted.
- You could persist it through iw4madmin or feds gsc-util plugin when dealing with servers.
- You could also split the functionality into 2 files, one for the logic and one for persisting the data where you could provide different versions of the later depending on what method should be used to store the data.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login