error 006: must be assigned to an array
#1

How can i fix this error?
Код:
			 format(str1, sizeof str1, "/rRaceSystem/%s.RRACE", RaceName);
		    if(!strcmp(dini_Get(str1, "BestRacerTime_0"), "0", true)) format(str1, sizeof str1, "Race record time: "COL_RED"n/a"); // no record time
	//1831 line	else  TempTotalTime = dini_Get(str, "BestRacerTime_0");
			ConvertTime(var1, TempTotalTime, TempTime[0], TempTime[1], TempTime[2]);
			format(str1, sizeof str, ""COL_WHITE"["COL_GREY"Race Record time: "COL_GREY"%d.%d.%d", TempTotalTime,rTime2[0], rTime2[1], rTime2[2]);
		    SendClientMessageToAll(grey, str1);
(1831): error 006: must be assigned to an array
Reply
#2

Can you show more code?
Reply
#3

show us where u defined TempTotalTime
if u defined like this new TempTotalTime;
change it to TempTotalTime[128];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)