fps command error :l
#1

hello everyone, i've a problem with a command that i've done using foreach, it compiles and everything but it doesnt show wath i need, this is the command:

pawn Код:
dcmd_fps(playerid,params[])
    {
        #pragma unused params
        new FPSList[512];

        foreach (Player, i)
        {
            format(FPSList, sizeof(FPSList), "%s%s:    %s\n", FPSList, pName2(i), FPS2[i]-1);
            ShowPlayerDialog(playerid, DIALOG_FPS_LIST, DIALOG_STYLE_MSGBOX, "Players FPS", FPSList, "Ok", "");
        }
        return 1;
    }
it should show in a dialog all player's fps but it only givesme this:

/imageshack/img580/3086/samp070nf.png

i used the fps function of Ryder on his fps filterscript example but it doesn't shows up, but as you can see it works, i used it on the textdraw on the corner, it just doesn't work on the dialog :l

Please someone help me making it work :c
Reply
#2

i've already helped you fix this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)