Thanks, that is useful, but unfortunately i can't limit the fps.
Hmm, I'm not really sure what your goal is, but I've no problem to limit the fps with this code:
//#include <acknex.h>
#include <default.c>
function my_limit_startup()
{
fps_max = 60; int my_fps = 1;
while(my_fps<10) // limit me to 10s
{
if ((total_frames % 60) == 1) my_fps++;
if ((total_frames % 300) == 1) beep(); // repeat the beep sound after 5s
wait(1);
}
}