13.03.2016, 03:46
Bueno, al intentar obtener los FPS con esta funcion obtengo medidas disparatadas.
pawn Код:
public FPS(playerid)
{
new fps4;
new drunklevel = GetPlayerDrunkLevel(playerid);
if(drunklevel < 100) return SetPlayerDrunkLevel(playerid,2000);
if(drunklevel != UltimoDrunk[playerid])
{
new fps1 = UltimoDrunk[playerid] - drunklevel;
if (fps1 > 0 && fps1 < 200) fps4 = fps1;
UltimoDrunk[playerid] = drunklevel;
}
return fps4;
}