[HELP] Little help +REP1 !!!
#5

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
pawn Код:
CMD:stats(playerid,params[])
{
    new string[128], pDeaths, player1, h, m, s;
    if(isnull(params)) player1 = playerid;
    else player1 = strval(params);
    TotalGameTime(player1, h, m, s);
    if(PlayerInfo[player1][Deaths] == 0) pDeaths = 1; else pDeaths = PlayerInfo[player1][Deaths];
    new string[800];
    format(string,sizeof(string),"Level : %s\n\nKills : %d\n\nDeaths : %d\n\nRatio : %0.2f\n\n{00FF00}Money: $%d\n\n{00FF00}Time: %d jam %d menit %d \n\n",GetRankFromLevel(playerid),PlayerInfo[playerid][Kills],PlayerInfo[playerid][Deaths],Float:PlayerInfo[playerid][Kills],Float:Float:pDeaths,GetPlayerMoney(playerid),h,m,s);
    ShowPlayerDialog(playerid,9800,DIALOG_STYLE_MSGBOX,"{00FF00}Player stats",string,"Ok","");
    return 1;
}

WORKED !!!

Thanks +REP1 !
Reply


Messages In This Thread
[HELP] Little help +REP1 !!! - by VenomMancer - 21.12.2013, 05:04
Re: [HELP] Little help +REP1 !!! - by SilentSoul - 21.12.2013, 05:43
Re: [HELP] Little help +REP1 !!! - by VenomMancer - 21.12.2013, 06:02
Re: [HELP] Little help +REP1 !!! - by SilentSoul - 21.12.2013, 06:07
Re: [HELP] Little help +REP1 !!! - by VenomMancer - 22.12.2013, 04:18

Forum Jump:


Users browsing this thread: 3 Guest(s)