[HELp]Help With Fix /stats+ /rules
#1

Код HTML:
CMD:stats(playerid,params[])
{
    new string[428], sLine[34], pDeaths, player1, h, m, s;
    if (!strlen(params)) player1 = playerid;
    else player1 = strval(params);

    if (IsPlayerConnected(player1))
    {
        TotalGameTime(player1, h, m, s);
        if (PlayerInfo[player1][Deaths] == 0) pDeaths = 1;
        else pDeaths = PlayerInfo[player1][Deaths];

        format(sLine, sizeof(sLine), "{fff000}+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+");
        format(string, sizeof(string), "%s {FC0303}%s's Stats %s \n*Player Kills: %d \n*Player Deaths: %d \n*Player Ratio: %0.2f \n*Player Money: $%d \nSkin: %d \nScore: %d \nAdmin Level: %d \nPing: %d \nBank: $%d \nWanted Level: %d \nInterior: %d \nCountry: %s",
            sLine,
            PlayerName2(player1),
            sLine,
            PlayerInfo[player1][Kills],
            PlayerInfo[player1][Deaths],
            Float:PlayerInfo[player1][Kills]/Float:pDeaths,
            GetPlayerMoney(player1),
            GetPlayerSkin(player1),
            GetPlayerScore(player1),
            PlayerInfo[player1][Level],
            GetPlayerPing(player1),
            PlayerInfo[player1][bank],
            GetPlayerWantedLevel(player1),
            GetPlayerInterior(player1),
            GetPlayerCountryName(playerid)
        );
        return ShowPlayerDialog(playerid, 758, 0, "[YS]Player Stats", string, "Ok", "");
    }
    else SendClientMessage(playerid, red, "Player Not Connected!");
    return 1;
}
Can anybodt Help my Change This To /stast Read My self No need /stats and id




PHP код:
CMD:rules(playerid,params[])
{
    new 
string[500];
    
string "1.Do not jack other's car while they are exchanging or buying Vehicle.\n";
    
strcat(string"2.Exchange car's only with the present of server Admin . To see online admins /admins\n\
    3.Do not use bad words.\n\
    4.Do not advetise.\n\
    6.Do not use any kind of hacks.\n\
    7.You can use car mods only.\n\
    9.rules*
    10.rules
    11.rules
    12.rules
    13.rules
    14.rules
    17.rules
    18.rules
    19.Do not Spam the server Chat."
);
    
ShowPlayerDialog(playerid5DIALOG_STYLE_MSGBOX"{46BEE6}YS Server Credits:"string"I Agree""I Disagree");
    return 
1;

Iwant To Add More Line
Reply


Messages In This Thread
[HELp]Help With Fix /stats+ /rules - by donhu789 - 14.08.2013, 03:03
Re: [HELp]Help With Fix /stats+ /rules - by ThaCrypte - 14.08.2013, 05:56
Re: [HELp]Help With Fix /stats+ /rules - by PT - 14.08.2013, 09:08
Re: [HELp]Help With Fix /stats+ /rules - by donhu789 - 14.08.2013, 10:39
Re: [HELp]Help With Fix /stats+ /rules - by Mike_Peterson - 14.08.2013, 11:40
Re: [HELp]Help With Fix /stats+ /rules - by PT - 14.08.2013, 14:49
Re: [HELp]Help With Fix /stats+ /rules - by donhu789 - 15.08.2013, 03:25
Re: [HELp]Help With Fix /stats+ /rules - by donhu789 - 15.08.2013, 03:31

Forum Jump:


Users browsing this thread: 1 Guest(s)