setfpscap(1000) -- set to whatever number you want your max fps to be