[Ajuda] GetPlayerFPS
#5

Tente essa.
PHP код:
stock GetPlayerFPS(playerid)
{
    
SetPVarInt(playerid"DrunkL"GetPlayerDrunkLevel(playerid));
     if(
GetPVarInt(playerid"DrunkL") < 100SetPlayerDrunkLevel(playerid2000);
         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
GetPlayerFPS - by zCyan - 22.10.2017, 16:08
Re: GetPlayerFPS - by Injury - 22.10.2017, 16:27
Re: GetPlayerFPS - by zCyan - 23.10.2017, 13:33
Re: GetPlayerFPS - by zCyan - 24.10.2017, 23:16
Re: GetPlayerFPS - by DelK - 25.10.2017, 00:05

Forum Jump:


Users browsing this thread: 2 Guest(s)