[Ajuda] Getando FPS do player
#1

Ele ta dando erro no GetPlayerFPS

Topo do gm:
pawn Код:
new Text:fpsfps[MAX_PLAYERS];
forward Fpstenso(playerid);
OnGameModeInit

pawn Код:
SetTimer("Fpstenso", 80, 1);
//********************************
            for(new i = 0; i < MAX_PLAYERS; i++)
    {
        fpsfps[i] = TextDrawCreate(570.0, 340.0, " ");
        TextDrawBackgroundColor(fpsfps[i], 16711935);
        TextDrawFont(fpsfps[i], 1);
        TextDrawLetterSize(fpsfps[i], 0.389999, 0.899999);
        TextDrawColor(fpsfps[i], 255);
        TextDrawSetOutline(fpsfps[i], 1);
        TextDrawSetProportional(fpsfps[i], 1);
        }
Final do gm
pawn Код:
public Fpstenso()
{
            for(new i=0; i<MAX_PLAYERS; i++)
            {
            new string[64];
            TextDrawShowForPlayer(i, fpsfps[i]);
            format(string,sizeof(string),"Fps: %i" ,GetPlayerFps(i));
            TextDrawSetString(fpsfps[i], string);
            }
}
Erro nesta linha:
pawn Код:
format(string,sizeof(string),"Fps: %i" ,GetPlayerFps(i));
Reply


Messages In This Thread
Getando FPS do player - by Gleisson_. - 02.09.2012, 19:01
Re: Getando FPS do player - by LeLeTe - 02.09.2012, 19:02
Re: Getando FPS do player - by Gleisson_. - 02.09.2012, 19:03
Re: Getando FPS do player - by @Riichard - 02.09.2012, 19:03
Re: Getando FPS do player - by Tony_Rodrigues - 02.09.2012, 19:05
Re: Getando FPS do player - by Gleisson_. - 02.09.2012, 19:06
Respuesta: Getando FPS do player - by Digao - 02.09.2012, 19:10
Re: Getando FPS do player - by paulor - 02.09.2012, 19:43
Re: Getando FPS do player - by GhosT_[] - 02.09.2012, 20:29
Re: Getando FPS do player - by Gleisson_. - 03.09.2012, 02:17

Forum Jump:


Users browsing this thread: 1 Guest(s)