FPS Textdraw Problem + rep But FAST!!!
#5

Add this code on your script:
Код:
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
FPS Textdraw Problem + rep But FAST!!! - by Toxik - 10.05.2015, 01:38
Re: FPS Textdraw Problem + rep But FAST!!! - by Deathlane - 10.05.2015, 01:48
Re: FPS Textdraw Problem + rep But FAST!!! - by [KHK]Khalid - 10.05.2015, 01:51
Re: FPS Textdraw Problem + rep But FAST!!! - by Toxik - 10.05.2015, 02:11
Re: FPS Textdraw Problem + rep But FAST!!! - by X337 - 10.05.2015, 06:56
Re: FPS Textdraw Problem + rep But FAST!!! - by [KHK]Khalid - 10.05.2015, 08:06

Forum Jump:


Users browsing this thread: 1 Guest(s)