27.12.2013, 07:53
If I understand correctly it should look like this:
Hope that helped you.
pawn Код:
//for this example I will use a command in zcmd
CMD:myhouse(playerid, params[])
{
new house1 = User[playerid][USER_HOUSE1];//store the data in a variable
new house2 = User[playerid][USER_HOUSE2];//same here
new string[150], stats[150];//we need a string to display the text in
format(string, sizeof string, ""chat" "COL_WHITE"House 1: %s\nHouse 2: %s", house1, house2);//the data stored in the variables will be displayed in the string
format(stats, sizeof stats, "%s", string);
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX,"My house",string,"Ok","");
//change all the variables to the ones you use from User[playerid] etc
//also the dialog id!
return 1;
}