run x times a second
How do i make a loop only run x times a second. There is something with getting current time and dividing, and stuff with something and sleeping for that time. Kinda like max FPS, i have no idea how to dsecribe it, i've seen it done a thousand times before but i cant google something i dont know what its called.
Sorry if htis makes no sense, but its really really simple, i jsut dont know how.
thanks

