24.03.2012, 14:34
How would I put like playerInfo[iTarget][pAge] into a dialog so it said Age: [Age Here]
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Age","You age is %d",playerInfo[iTarget][pAge]);
CMD:dialog(playerid, params[])
{
new str[128];
format(str, sizeof(str), "Age: %i", playerInfo[playerid][pAge]);
ShowPlayerDialog(playerid, 1337, DIALOG_STYLE_MSGBOX, "Your Age", str, "Close", "");
return 1;
}