What's new

Discussion Toggle FPS

  • Thread starter Wednesday
  • Start date
  • Views 544
Wednesday

EcHo-Mods

Enthusiast
Messages
255
Reaction score
77
Points
85
Sin$
7
Okay I am trying to toggle FPS.
But I know I can't use:

Code:
doFPS()
{
self endon ( "disconnect" );
self endon ( "death" );

for ( ;; ) {
self waittill( "dpad_left" );
self setClientDvar("jump_height", "43");
self setClientDvar("g_gravity", "750");
self iPrintlnBold( "125 FPS" );
self waittill( "dpad_left" );
self setClientDvar("jump_height", "45");
self setClientDvar("g_gravity", "730");                                 
self iPrintlnBold( "250 FPS" );
self waittill( "dpad_left" );
self setClientDvar("jump_height", "48");
self setClientDvar("g_gravity", "720");                                 
self iPrintlnBold( "333 FPS" );
}
}

Can someone post how I could do this for CoD4? Thanks :smile:
 
mo teh pro

XEL1TE PLUMX

Enthusiast
Messages
309
Reaction score
43
Points
85
Sin$
7
Code:
self waittill( "dpad_left" );
that does not work in cod4
Code:
if(self meleeButtonPressed())
you need to replace dpad left with that and then it will work.
 
Top Bottom
Login
Register