Need help with GUI.
#1

Hello. I'm trying to make simple Dialog that it would print me properties, but it prints me only the one property which is the biggest ID. Here is a code:

new String[256];
for(new i = 0; i < MAX_PROPERTIES; i++)
{
format(String,256,"Property Owner\n\n%s %s",prop[i][Name], prop[i][OwnerName]);
}
ShowPlayerDialog(playerid,35,DIALOG_STYLE_MSGBOX," Properties", String,"Close","Close");

But when I put this in message server shows me all properties. What I do wrong? I know, that something with formating, because server doesn't creates new line. But what? Also when I print it server prints all properties. I need something to do that it would open one dialog with all properties.
Reply


Messages In This Thread
Need help with GUI. - by DyDy - 20.08.2010, 06:23
Re: Need help with GUI. - by Nonameman - 20.08.2010, 09:29
Re: Need help with GUI. - by DyDy - 20.08.2010, 09:33
Re: Need help with GUI. - by Nonameman - 20.08.2010, 09:35
Re: Need help with GUI. - by Nonameman - 20.08.2010, 09:38
Re: Need help with GUI. - by DyDy - 20.08.2010, 09:49
Re: Need help with GUI. - by DyDy - 20.08.2010, 10:07
Re: Need help with GUI. - by Nonameman - 20.08.2010, 11:29
Re: Need help with GUI. - by Cameltoe - 20.08.2010, 11:32

Forum Jump:


Users browsing this thread: 2 Guest(s)