Help with this TextDraw.
#8

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.
Reply


Messages In This Thread
Help with this TextDraw. - by TheYoungCapone - 16.04.2011, 20:16
Re: Help with this TextDraw. - by Mike Garber - 16.04.2011, 20:22
Re: Help with this TextDraw. - by TheYoungCapone - 16.04.2011, 20:24
AW: Help with this TextDraw. - by Nero_3D - 16.04.2011, 22:14
Re: Help with this TextDraw. - by Stigg - 16.04.2011, 22:19
Re: AW: Help with this TextDraw. - by TheYoungCapone - 16.04.2011, 22:26
AW: Re: AW: Help with this TextDraw. - by Nero_3D - 16.04.2011, 23:53
Re: AW: Re: AW: Help with this TextDraw. - by TheYoungCapone - 16.04.2011, 23:58
AW: Re: AW: Re: AW: Help with this TextDraw. - by Nero_3D - 17.04.2011, 00:51

Forum Jump:


Users browsing this thread: 1 Guest(s)