CS 1.6 Scripting Hacks and Programming

Click here to edit subtitle

Forums

Post Reply
Forum Home > HL1 Programming > [C++] Fps_helper

TreMBle*
Site Owner
Posts: 36

cvar:


cvar_t *fps_helper;


regcmd:


fps_helper = g_Engine.pfnRegisterVariable("prefix_fps_helper","0",0);


createmove:

float fpsmy=1/frametime;

if(fps_helper->value) { AdjustSpeed(fpsmy/fps_helper->value);}


January 3, 2014 at 3:21 PM Flag Quote & Reply

You must login to post.