2 errors
#5

pawn Код:
#define DIALOG_FPS_LIST (1337)

new FPSList[512];

for(new i = 0; i < MAX_PLAYERS; ++i)
{
    if(IsPlayerConnected(i) && !IsPlayerNPC(i))
    {
        format(FPSList, sizeof(FPSList), "%s%s:    %s\n", FPSList, pName(i), GetPlayerFPS(i));
        ShowPlayerDialog(playerid, DIALOG_FPS_LIST, DIALOG_STYLE_MSGBOX, "Players FPS", FPSList, "Ok", "");
    }
}


stock pName(playerid)
{
    new iName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, iName, sizeof(iName));
    return iName;
}
Reply


Messages In This Thread
2 errors - by ToPhrESH - 10.08.2011, 05:45
Re: 2 errors - by iJumbo - 10.08.2011, 06:11
Re: 2 errors - by [L3th4l] - 10.08.2011, 06:44
Re: 2 errors - by ToPhrESH - 10.08.2011, 15:36
Re: 2 errors - by Riddick94 - 10.08.2011, 15:40
Re: 2 errors - by ToPhrESH - 10.08.2011, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)