Not showing whole dialog
#3

Quote:
Originally Posted by HY
Посмотреть сообщение
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    if( pInfo[playerid][pAdmin] >= 1)
    {
        new
            clickedname[MAX_PLAYER_NAME];

        GetPlayerName(clickedplayerid, clickedname, sizeof(clickedname));

        new IP[16];

        GetPlayerIp(clickedplayerid, IP, sizeof(IP));

        new pDialog[1500];
        format(pDialog, sizeof(pDialog), "{FFE226}Name - {FFFFFF}%s[%d]\n\n", clickedname, clickedplayerid );
        format(pDialog, sizeof(pDialog), "{FFE226}IP - {FFFFFF}%s\n", IP);
        format(pDialog, sizeof(pDialog), "{FFE226}Score - {FFFFFF}%d\n", GetPlayerScore(clickedplayerid) );
        format(pDialog, sizeof(pDialog), "{FFE226}Money - {FFFFFF}%d\n", GetPlayerMoney(clickedplayerid) );
        format(pDialog, sizeof(pDialog), "{FFE226}Kills - {FFFFFF}%d\n", pInfo[clickedplayerid][pKills]);
        format(pDialog, sizeof(pDialog), "{FFE226}Deaths - {FFFFFF}%d\n", pInfo[clickedplayerid][pDeaths]);
        format(pDialog, sizeof(pDialog), "{FFE226}Warnings - {FFFFFF}%d\n", pInfo[clickedplayerid][pWarns]);
        format(pDialog, sizeof(pDialog), "{FFE226}Warnings - {FFFFFF}%d\n\n", pInfo[clickedplayerid][pWarns]);
        format(pDialog, sizeof(pDialog), "{FFE226}Extras:\n");
        format(pDialog, sizeof(pDialog), "{FFE226}Admin Level - {FFFFFF}%d\n", pInfo[clickedplayerid][pAdmin]);
        format(pDialog, sizeof(pDialog), "{FFE226}VIP Level - {FFFFFF}%d\n", pInfo[clickedplayerid][pVip]);
        format(pDialog, sizeof(pDialog), "{FFE226}Swat Level - {FFFFFF}%d\n", pInfo[clickedplayerid][pSwat]);
        format(pDialog, sizeof(pDialog), "{FFE226}Army Level - {FFFFFF}%d\n", pInfo[clickedplayerid][pArmy]);
        format(pDialog, sizeof(pDialog), "{FFE226}Online Time - {FFFFFF}Hours: %d | Minutes: %d | Seconds: %d \n", pInfo[clickedplayerid][pHours], pInfo[clickedplayerid][pMinutes], pInfo[clickedplayerid][pSeconds]);
        ShowPlayerDialog(playerid, 7890, DIALOG_STYLE_MSGBOX, "{FFE226}Players Stats", pDialog, "OK", "");
    }
    return 1;
}
Tested it, and it's still not working.
Reply


Messages In This Thread
Not showing whole dialog - by FunnyBear - 06.12.2014, 14:58
Re: Not showing whole dialog - by HY - 06.12.2014, 15:04
Re: Not showing whole dialog - by FunnyBear - 06.12.2014, 15:11
Re: Not showing whole dialog - by HY - 06.12.2014, 15:19
Re: Not showing whole dialog - by FunnyBear - 06.12.2014, 15:46
Re: Not showing whole dialog - by Raweresh - 06.12.2014, 15:46
Re: Not showing whole dialog - by FunnyBear - 06.12.2014, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)