How to make Command for see my FPS?
#3

try this

made by ipsBruno

pawn Код:
stock GetPlayerFPS(playerid)
{
    SetPVarInt(playerid, "DrunkL", GetPlayerDrunkLevel(playerid));
    if(GetPVarInt(playerid, "DrunkL") < 100) SetPlayerDrunkLevel(playerid, 2000);
        else{
            if(GetPVarInt(playerid, "LDrunkL") != GetPVarInt(playerid, "DrunkL"))
            {
                SetPVarInt(playerid, "FPS", (GetPVarInt(playerid, "LDrunkL") - GetPVarInt(playerid, "DrunkL")));
                SetPVarInt(playerid, "LDrunkL", GetPVarInt(playerid, "DrunkL"));
                if((GetPVarInt(playerid, "FPS") > 0) && (GetPVarInt(playerid, "FPS") < 256))
                {
                    return GetPVarInt(playerid, "FPS") - 1;
                }
            }
        }
    return 0;
}
Reply


Messages In This Thread
How to make Command for see my FPS? - by Configuration - 04.04.2013, 11:51
Re: How to make Command for see my FPS? - by doreto - 04.04.2013, 11:55
Re : How to make Command for see my FPS? - by DaTa[X] - 04.04.2013, 11:58
Re: Re : How to make Command for see my FPS? - by Konstantinos - 04.04.2013, 12:02

Forum Jump:


Users browsing this thread: 2 Guest(s)