23.12.2012, 05:09
You must format it first.
pawn Код:
public OnPlayerClickPlayer(playerid, clickedid, source)
{
new dstring[256];
format(dstring, sizeof(dstring), "Name : %s | Admin Level : %d | VIP : %d | Score : %d | Cash : %d",GetName(playerid), pInfo[playerid][pAdmin], pInfo[playerid][pVip], GetPlayerScore(playerid), GetPlayerMoney(playerid));
ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "Stats", dstring, "Close", "");
return 1;
}