Ein Beispiel:

Code:
///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////

var time = 0;
var seconds = 0;
var minutes = 0;

void main()
{
	fps_max = 60;
	while(1)
	{
		time += time_frame;
		seconds = time/16.0;
		minutes = floor(seconds/60.0);
		seconds %= 60;
		draw_text(str_printf(NULL,"Game running for %d minutes and %d seconds.",(int)minutes,(int)seconds),20,20,COLOR_RED);
		wait(1);
	}
}



"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends