Dialog stats
#6

https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/ShowPlayerDialog

pawn Код:
CMD:stats(playerid, params[])
{
    new string[256], sendername[MAX_PLAYER_NAME];
    new
        admin,
        kills,
        deaths;
       
    admin = PlayerInfo[playerid][pAdmin]; // i dont know your variables , change this to your variables
    kills = PlayerInfo[playerid][pKills];
    deaths = PlayerInfo[playerid][pDeaths];
    format(string,sizeof(string), "PlayerName:( %s ) Admin Level:[ %d ] Kills:[ %d ] Deaths:[ %d ]",sendername,admin,kills,deaths);
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX , "Player Stats", string, "Okay", "");
    return 1;
}
this one is on "ZCMD"
Reply


Messages In This Thread
Dialog stats - by TaLhA XIV - 26.07.2012, 22:42
Re: Dialog stats - by [KHK]Khalid - 26.07.2012, 22:51
Re: Dialog stats - by maramizo - 26.07.2012, 23:07
Re: Dialog stats - by TaLhA XIV - 26.07.2012, 23:18
Re: Dialog stats - by [KHK]Khalid - 26.07.2012, 23:32
Re: Dialog stats - by Devilxz97 - 26.07.2012, 23:54

Forum Jump:


Users browsing this thread: 2 Guest(s)