How to? (Dialog menu)
#6

Quote:
Originally Posted by mprofitt
Quote:
Originally Posted by tomnidi
Код:
ShowPlayerDialog(playerid, 6667, DIALOG_STYLE_LIST, "Something here..", "%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s", "Select", "Cancel", PlayerInfo[playerid][pD1], PlayerInfo[playerid][pD2], PlayerInfo[playerid][pD3], PlayerInfo[playerid][pD4], PlayerInfo[playerid][pD5], PlayerInfo[playerid][pD6], PlayerInfo[playerid][pD7], PlayerInfo[playerid][pD8], PlayerInfo[playerid][pD9], PlayerInfo[playerid][pD10]);
Does someone know how to make this work using Dialog Menus?
I would like to make something with strings but I really don't know how to include it into the line.
I will be happy if someone will help me, thanks.
pawn Код:
// mind your string size
new string[128];
format(string, sizeof(string),"%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s", PlayerInfo[playerid][pD1], PlayerInfo[playerid][pD2], PlayerInfo[playerid][pD3], PlayerInfo[playerid][pD4], PlayerInfo[playerid][pD5], PlayerInfo[playerid][pD6], PlayerInfo[playerid][pD7], PlayerInfo[playerid][pD8], PlayerInfo[playerid][pD9], PlayerInfo[playerid][pD10]);
ShowPlayerDialog(playerid, 6667, DIALOG_STYLE_LIST, "Something here..", string, "Select", "Cancel", );
Thats exactly what I did, thanks anyway.
Reply


Messages In This Thread
How to? (Dialog menu) - by tomnidi - 26.11.2009, 20:04
Re: How to? (Dialog menu) - by Sfinx_17 - 26.11.2009, 21:35
Re: How to? (Dialog menu) - by GTA967 - 27.11.2009, 03:35
Re: How to? (Dialog menu) - by tomnidi - 27.11.2009, 04:10
Re: How to? (Dialog menu) - by mprofitt - 27.11.2009, 04:20
Re: How to? (Dialog menu) - by tomnidi - 27.11.2009, 09:12

Forum Jump:


Users browsing this thread: 2 Guest(s)