A problem with MSG box.
#1

Hey,
I'm trying to create a MDC system for the PD (Roleplay Sever), well the problem is when I want to see the criminal record, it doesn't read all the records, I think the problem is that it doesn't save right the string, look at that:

Код:
				    new playername[24];
	  				if(!strlen(inputtext)) return SendClientMessage(playerid,0xFF000000,"[ERROR]: You should to type a criminial record.");
					GetPlayerName(MDCTarget[playerid],playername,24);
	   				format(string, sizeof(string), "CRecords/%s.cfg", playername);
					new File:filee = fopen(string, io_append);
					new stringg[1300];
					new Year, Month, Day;
					getdate(Year, Month, Day);
					format(stringg, sizeof(stringg), "%s(%d/%d/%d)\n",inputtext, Day, Month,Year);
					fwrite(filee, stringg);
					fclose(filee);
and how it looks into the file:

Код:
Check1(14/12/2012) Check2(14/12/2012)
Reply


Messages In This Thread
A problem with MSG box. - by Gennum. - 14.12.2012, 14:29
Re: A problem with MSG box. - by LarzI - 14.12.2012, 14:31
Re: A problem with MSG box. - by Gennum. - 14.12.2012, 14:36
Re: A problem with MSG box. - by LarzI - 14.12.2012, 14:41
Re: A problem with MSG box. - by Gennum. - 14.12.2012, 14:44
Re: A problem with MSG box. - by LarzI - 14.12.2012, 14:50
Re: A problem with MSG box. - by Gennum. - 14.12.2012, 14:57
Re: A problem with MSG box. - by maramizo - 14.12.2012, 15:02
Re: A problem with MSG box. - by LarzI - 14.12.2012, 15:02
Re: A problem with MSG box. - by Gennum. - 14.12.2012, 15:13

Forum Jump:


Users browsing this thread: 1 Guest(s)