Page 1 of 1
Locking fps at 125
Posted: May 15th, 2011, 12:11 am
by rB|Liam*
Hi everyone. Im close to finishing my 2nd map and as i only get 125 thats what fps the whole map is, im wondering if someone could post a script for me that locks the fps at 125? It would be much appreciated, thanks

Re: Locking fps at 125
Posted: May 15th, 2011, 12:27 am
by iCYsoldier
You can use the setClientDvar function to set the players' FPS at 125 with:
self setClientDvar("com_maxfps", 125);
Put this into a loop with a small wait statement, for example:
Code: Select all
fps()
{
while(true)
{
self setClientDvar("com_maxfps", 125);
wait 0.1;
}
}
Run this 'fps' function on each player in the server, and it will not let them change their fps.
Re: Locking fps at 125
Posted: May 15th, 2011, 12:31 am
by rB|Liam*
thanks