Posts: 1,753
Threads: 277
Joined: Sep 2010
Reputation:
0
How could I create a Briefcase command that will allow people to store Drugs, weapons, cash and materials inside it and save to a Dini file? With the player's name. Then load them when they spawn so then when they do /briefcase to get an item it will get it. Then it will save the file with - amount of what they got? Thank you and I will +rep you if you can help me. I use ZCMD so if it's possible please make it with ZCMD. Thank you so much!
Posts: 8
Threads: 0
Joined: Sep 2011
Reputation:
0
First off you would have to make it to where it sets the suit case as a player object that way it looks more realistic and second off you would need to create a system that saves the contents of the suit case. Once you do all that just do a simple dialog and when the player puts something in it have it update that ini file that has the briefcases contents. Hope this helped!
Posts: 1,753
Threads: 277
Joined: Sep 2010
Reputation:
0
That's what I don't understand, the .ini part. I can't understand the file-saving thing. I stopped scripting for too long, now I've come back, I've forgot. I know the rest just not the Dini part.
Posts: 8
Threads: 0
Joined: Sep 2011
Reputation:
0
Well do the codes already have a login/register system? it should save there kills/deaths/password ect.. Just copy one of those other then the password and have it be like. Crack,weed,money ect.. give rep if this helps :P