Add to the end on a ".ini"
#1

EDIT: Problem SOLVED



I have my users saved in .ini files. For example: Mine is Ben_Jarvis.ini and here is a section of the contents of that file:

Код:
Key=password
Level=1
AdminLevel=1338
HelperLevel=0
DonateRank=0
UpgradePoints=0
ConnectedTime=2
Registered=1
Sex=1
Age=20
So, if I have all of these users saved, how can I make it so that, when they next connect, it adds a value to the end.

What I am hoping to do is that a user can type /spawn 1, 2 or 3. And when they do that, it sets the value in their userfile. Wen they connect next, it will read the value, and they will spawn in the appropriate place.


Thank you,
Ben.
Reply


Messages In This Thread
Add to the end of a ".ini" - by bn102 - 25.02.2011, 12:33
Re: Add to the end on a ".ini" - by cessil - 25.02.2011, 12:48
Re: Add to the end on a ".ini" - by Baboon - 25.02.2011, 12:54
Re: Add to the end of a ".ini" - by bn102 - 25.02.2011, 13:21
Re: Add to the end on a ".ini" - by Ricop522 - 25.02.2011, 14:08
Re: Add to the end on a ".ini" - by bn102 - 25.02.2011, 14:17

Forum Jump:


Users browsing this thread: 2 Guest(s)