error 035: argument type mismatch (argument 2)
#3

But i want to save the color as a string, and read it as a string to use it as a color, how does it work?

I save so:
Код:
			CreateDynamicObject(1229, newobjectPos[0], newobjectPos[1], oPos, 0.00000000,0.00000000,0.00000000, 0, 0, -1, 200.0);
			CreateDynamic3DTextLabel(inputtext,COLOR_RED,newobjectPos[0], newobjectPos[1], newobjectPos[2],30.0,0,0,1,0,0,-1,100.0);
			format(schildString, sizeof(schildString), "%s\t|%s\t|%f\t|%f\t|%f\r\n",COLOR_RED,inputtext,newobjectPos[0], newobjectPos[1], newobjectPos[2]);
			schilderDatei = fopen(SCHILDER_FILE, io_append);
			fwrite(schilderDatei, schildString);
			fclose(schilderDatei);
Reply


Messages In This Thread
error 035: argument type mismatch (argument 2) - by asdfgh98 - 25.07.2011, 10:56
Re: error 035: argument type mismatch (argument 2) - by [HiC]TheKiller - 25.07.2011, 11:00
AW: error 035: argument type mismatch (argument 2) - by asdfgh98 - 25.07.2011, 11:01

Forum Jump:


Users browsing this thread: 1 Guest(s)