Title in Middle
#3

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
im sorry what title?
Here

Код:
dcmd_stats(playerid,params[])
{
    new string[256];
    new pDeaths;
    new player1, h, m, s;

    if(!strlen(params)) player1 = playerid;
    else player1 = strval(params);

    if(IsPlayerConnected(player1))
    {
        TotalGameTime(player1, h, m, s);
        if(AccInfo[player1][Deaths] == 0) pDeaths = 1;
        else pDeaths = AccInfo[player1][Deaths];
        format(string, sizeof(string), "\t{008A2E}%s's {CCCCCC}Statistics",PlayerName2(player1));
        new statstring[256];
        format(statstring, sizeof(statstring), "{99CCFF}Admin Level:  %d \n\nScore:  %d \n\nKills:  %d \n\nDeaths:  %d \n\nRatio:  %0.2f \n\nMoney:  $%d \n\nTime:  %d Hours  %d Minutes and  %d Seconds ", AccInfo[player1][Level], GetPlayerScore(playerid), AccInfo[player1][Kills], AccInfo[player1][Deaths], Float:AccInfo[player1][Kills]/Float:pDeaths, GetPlayerMoney(player1), h, m, s);
        ShowPlayerDialog(playerid,12767,DIALOG_STYLE_MSGBOX,string,statstring ,"Close","");
        return 0;
    } else
    return SendClientMessage(playerid, red, "ERROR: Player Not Connected!");
}
/t Let Lists In The Middle Or Let's say it is a TAB

When i add \t nothing happen. it dont move.
Reply


Messages In This Thread
Title in Middle - by kbalor - 25.06.2012, 12:17
Re: Title in Middle - by Jonny5 - 25.06.2012, 12:29
Re: Title in Middle - by kbalor - 25.06.2012, 12:40
Re: Title in Middle - by Grand_Micha - 25.06.2012, 12:45
Re: Title in Middle - by Lordzy - 25.06.2012, 12:52
Re: Title in Middle - by Jonny5 - 25.06.2012, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)