12.12.2013, 21:44
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.
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.