/stats dialog doesn't work
#4

Try with this:
Код:
CMD:stats(playerid, params[]) 
{ 
    new string[128]; 
    format(string, sizeof(string), "Name: %s | Score: %d | Kills: %d | Deaths: %d", pName(playerid), PlayerInfo[playerid][pScore], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths]); 
    ShowPlayerDialog(playerid,DIALOG_STATS, DIALOG_STYLE_MSGBOX, "Stats Test", string,"Close", ""); 
    return 1; 
}
Reply


Messages In This Thread
/stats dialog doesn't work - by IndependentGaming - 13.05.2015, 17:14
Re: /stats dialog doesn't work - by Luis- - 13.05.2015, 17:18
Re: /stats dialog doesn't work - by IndependentGaming - 13.05.2015, 17:28
Re: /stats dialog doesn't work - by ZaBraNjeNi - 13.05.2015, 17:37
Re: /stats dialog doesn't work - by Luis- - 13.05.2015, 17:37
Re: /stats dialog doesn't work - by Azula - 13.05.2015, 17:41
Re: /stats dialog doesn't work - by Luis- - 13.05.2015, 17:42
Re: /stats dialog doesn't work - by IndependentGaming - 13.05.2015, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)