SA-MP Forums Archive
FPS problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: FPS problem (/showthread.php?tid=494458)



FPS problem - Fokus - 13.02.2014

Hello all, I'm one question
why in samp 0.3z version FPS textdraw don't working

Код:
new drunknew = GetPlayerDrunkLevel(playerid);
if (drunknew < 100){
SetPlayerDrunkLevel(playerid, 2000);
} else {
if (pDrunkLevelLast[playerid] != drunknew){
new wfps = pDrunkLevelLast[playerid] - drunknew;
if ((wfps > 0) && (wfps < 200))
pFPS[playerid] = wfps;
pDrunkLevelLast[playerid] = drunknew;
}}