Hi,

I want to save the postition of the player every second of the game into a txt file. This works when I use the function save(); in my main while(1) loop.

But it saves the postition every 20th or so of a second - much to much data for me.

How can I say "use save(); only every 1/2 sec"?

Thx in advance!