FPS jump over 100
#1

Hello,

I'm using this to get player FPS
Код:
new drunknew = GetPlayerDrunkLevel(playerid), fps[100];
			if (drunknew < 100) { 
				SetPlayerDrunkLevel(playerid, 2000);
			} else {

				if(playerVariables[playerid][pDrunkLevelLast] != drunknew) {

					new wfps = playerVariables[playerid][pDrunkLevelLast] - drunknew;

					if ((wfps > 0) && (wfps < 200))
						playerVariables[playerid][pFPS] = wfps;

					playerVariables[playerid][pDrunkLevelLast] = drunknew;
				}
			}
, but from time to time (some minutes) FPS jumps to 180+ (for one second) and then is normal again. This function is called every second.

What is the problem?

I tried on a empty script and same problem...
Reply


Messages In This Thread
FPS jump over 100 - by iDark - 20.04.2017, 17:41
Re: FPS jump over 100 - by [WSF]ThA_Devil - 20.04.2017, 21:15
Re: FPS jump over 100 - by DRIFT_HUNTER - 21.04.2017, 00:21

Forum Jump:


Users browsing this thread: 2 Guest(s)