11.12.2012, 22:45
(
Последний раз редактировалось Fernado Samuel; 04.10.2013 в 18:09.
)
Removed
new
string[ 128 ]; //I'm only making 128 cells to be sure you can fit an entire line of the txtfile
while( fread( hFile, string )) //This will read line-by-line and store the line being read at the moment into the variable 'string'
{
}
for(new i = 0; i < MAX_PROPS; i++) //replace MAX_PROPS with the number of props you've got
{
sscanf( string, "e<p<, >s[24]fffiiis[24]>", PropInfo[i] ); //this will store all the info into propinfo
//do your stuff
}