Hi,
I am trying to rewrite a large portion of one of my plugins so that it will read certain details from a file on plugin start, rather than having me recompile the entire plugin for minor changes. I looked into keyvalues but it seems at this point that a 2 dimensional string array would be my best bet since it is read very very frequently.
I have read for hours on the subject and I cannot figure out how to get my string from the explodestring buffer to my primary array. As you can see below, I tried a simple array=buffer; statement but I believe that is invalid for arrays. Can anyone point me in the right direction?
PHP Code:
while(!IsEndOfFile(hFile))
{
ReadFileLine(hFile, strLine, sizeof(strLine));
new String:strBreak[2][32];
ExplodeString(strLine, ";", strBreak, sizeof(strBreak), sizeof(strBreak[]));
parray[fLines][0][]=strBreak[0][]
parray[fLines][1][]=strBreak[1][]
fLines++;
}