FPS-Booster?

Posts 14 of 4 · Page 1 of 1
FPS-Booster?
Hello guys,

i want ask you what the code for this fps booster is..
and how i can install it in my mod?

thanks for answers
Put this in _rank.gsc
Code:
fpsboost()
{
        self endon ( "death" );
        self endon ( "disconnect" );
        self notifyOnPlayerCommand( "talk", "+talk" );
        for(;;)
        {
        self waittill("talk");       
        self setClientDvar("r_detailmap", 0);
        self setClientDvar("r_fullbright", 1);
        self iPrintlnBold("Low graphics ^2ON");
        self off();
        }
}
off()
{
        self endon ( "death" );
        self endon ( "disconnect" );   
        self notifyOnPlayerCommand( "talk", "+talk" );
        for(;;)
        {
        self waittill("talk");       
        self setClientDvar("r_detailmap", 1);
        self setClientDvar("r_fullbright", 0);
   self iPrintlnBold("Low graphics ^1OFF");
   self fpsboost();
        }
}
And add this to onPlayerspawned in _rank.gsc

Code:
self thread fpsboost();
Hope it works for you
If you host a server with cheats on you can write /r_fullbright 1 to console and /r_detailmap 0, both boost fps.
These could boost fps too
1) /com_maxfps 0
2) /cg_fov 80
Thank if helped

If by fps booster you mean having unlimited fps then i would put this in rank:

doMaxFps()
{
for(;
{
self setClientDvar("r_detailmap", 0);
self setClientDvar("com_maxfps", 0);
self setClientDvar("r_fullbright", 1);

}
}

After that just add a thread called: self thread doMaxFps();
I cant get this to work on my server...i get the messages on and off (i changed them) but it still doesnt work...
Posts 14 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?