Dialog
#7

heres a part of a config dialog. replace the DIALOG_STYLE_LIST by DIALOG_STYLE_MSGBOX
Код:
	new StringMenu[1024];
	format(StringMenu,sizeof(StringMenu),"%d\t{33cc33}MODE_EXIT\n",GetPVarInt(playerid,"OE_MODE_EXIT"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{33cc33}MODE_SWITCH\n",StringMenu,GetPVarInt(playerid,"OE_MODE_SWITCH"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{33cc33}MOVE_X_POS\n",StringMenu,GetPVarInt(playerid,"OE_MOVE_X_POS"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{33cc33}MOVE_X_NEG\n",StringMenu,GetPVarInt(playerid,"OE_MOVE_X_NEG"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{33cc33}MOVE_Y_POS\n",StringMenu,GetPVarInt(playerid,"OE_MOVE_Y_POS"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{33cc33}MOVE_Y_NEG\n",StringMenu,GetPVarInt(playerid,"OE_MOVE_Y_NEG"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{33cc33}MOVE_Z_POS\n",StringMenu,GetPVarInt(playerid,"OE_MOVE_Z_POS"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{33cc33}MOVE_Z_NEG\n",StringMenu,GetPVarInt(playerid,"OE_MOVE_Z_NEG"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{cccc33}RESET\n",StringMenu,GetPVarInt(playerid,"OE_RESET"));
	format(StringMenu,sizeof(StringMenu),"%s%d\t{cccc33}ALIGN\n",StringMenu,GetPVarInt(playerid,"OE_ALIGN"));
	ShowPlayerDialog(playerid,MenuConfig,DIALOG_STYLE_LIST,"Select Key to assign",StringMenu,"Select","Cancel");
Reply


Messages In This Thread
Dialog - by cruising - 22.10.2011, 22:04
Re: Dialog - by Steven82 - 22.10.2011, 22:25
Re: Dialog - by cruising - 22.10.2011, 22:34
Re: Dialog - by Ensconce - 22.10.2011, 23:10
Re: Dialog - by cruising - 22.10.2011, 23:20
Re: Dialog - by grand.Theft.Otto - 22.10.2011, 23:37
Re: Dialog - by Babul - 22.10.2011, 23:41

Forum Jump:


Users browsing this thread: 1 Guest(s)