Maybe this code helps:
Code:
#include <acknex.h>
#include <default.c>

function main()
{
	fps_max = 60;
	// repeat the beep sound after 5s every time, play with 300 and 60
	while(1)
	{
		if ((total_frames % 300) == 1) beep();	
		wait(1);
	}
}




Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P