Reading from file works not perfect.. [NOT SOLVED]
#2

1. Check this in console because its wrong (printf)
Код:
while(fread(ReadFileString, Line, sizeof Line, false))
{
	CP[CPCount][1] = floatstr(strtok(Line, Index));
	CP[CPCount][2] = floatstr(strtok(Line, Index));
	CP[CPCount][3] = floatstr(strtok(Line, Index));
	CPCount++;
}
2. U dont need this
Код:
	CP[WhichCheckpoint[playerid]][1]++;
	CP[WhichCheckpoint[playerid]][2]++;
	CP[WhichCheckpoint[playerid]][3]++;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)