22.10.2011, 23:41
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");