Quote:
Originally Posted by Nero_3D
Yeah I forgot something important
pawn Код:
stock GetPlayerFPS(playerid) { new drunk = GetPlayerDrunkLevel(playerid); if(GetPVarInt(playerid, "DrunkLevel") != drunk) { SetPVarInt(playerid, "FPS", (GetPVarInt(playerid, "DrunkLevel") - drunk)); } if(drunk < 100) { SetPlayerDrunkLevel(playerid, 2000); SetPVarInt(playerid, "DrunkLevel", 2000); } else { SetPVarInt(playerid, "DrunkLevel", drunk); } return GetPVarInt(playerid, "FPS"); }
|
Well it kind of works it shows FPS for a second then it shows 2000 and it goes back and forth any more ideas?And also someone said not to use OnPlayerUpdate do i change it? and if so to what.