Now i save the data to an ini file and that works great and really no problem, but im thinking of rewriting the entire script with hashtables instead.
I have tried to read up on the hashtables, i think i understand how they work.


This is how my ini looks like.

Code
[Striker]
RealName=Striker 45
Hits=1988
Kills=1007
KD=1.14
HeadShots=122
Accuracy=0.17
Shots=12034
Deaths=881

[Bizon]
RealName=PP19 Bizon
Hits=3398
Kills=881
KD=0.87
HeadShots=130
Accuracy=0.17
Shots=19561
Deaths=1017

[Fennec]
RealName=Fennec Mk9
Hits=2503
Kills=486
KD=0.86
HeadShots=68
Accuracy=0.18
Shots=13949
Deaths=565

[Uzi]
RealName=Uzi
Hits=4205
Kills=980
KD=0.89
HeadShots=148
Accuracy=0.23
Shots=18287
Deaths=1097

[Weekly]
kills=11
KillsPerGame=1.57
Death=19
KD=0.58
GulagDeath=4
TimePlayed=17541
AvgLife=674.65
ScorePerMinute=68.58
HeadShotPercent=0.09
TeamWiped=1
Revives=1
KioskBuys=10
Executions=0
Matches=7
KillsInGulag=3
DamageDone=5222
DamageTaken=6104

It about 600 rown in every ini file i got and i name them to the username so iknow which one is which.

So do i need to make a new tabe for evey entry in this ini? like
striker - my.data
Bizon - my.data
Fennec - my.data
and then save it as username.file or is there any other way of saving it to a hashtable?
then when i want the data i just load it.

Last edited by Bast; 01/11/20 05:09 PM.