Reading Files and storing into an Array
#1

How can I setup a script which reads from a file and adds it to an array.
For example, I have the text Deduction|TestUser|So_On|AndSo_On| in a file.
How can I store it to an array like PlayerInfo[playerid][Friend][0], PlayerInfo[playerid][Friend][1] and such.
There will be more people in the list so I won't be able to create it manually, so how can I have it done automatically.
Reply


Messages In This Thread
Reading Files and storing into an Array - by Deduction - 12.12.2013, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)