@DJBMASTER, nope didn't have a look yet, but I'll look into that, the function name at least sounds promising ^^ edit: I had a quick look at the function, and it seams that this function uses thread ids, but not managed thread ids ! That's a potential problem afaik, because the native thread of a managed thread may change during runtime afaik! second edit: the two methods Thread.EndThreadAffinity() and Thread.BeginThreadAffinity() prevent this... hmmm now only the function would need to work (let's hope it does ^^) third edit ^^: didn't manage to get it to work
@Dark_samurai hmmm nope wait(1), should only wait one frame ! did you set fps_max ?