I have been trying to add plain text to an ESC Menu in hl2dm but have been failing to do so. With Ayutos ES Emulator it works but I could not figure out why it does. I used this code for testing:
Syntax: Select all
from events import Event
from players.entity import Player
from menus import SimpleMenu
from menus import Text
@Event('player_say')
def say(ev):
player = Player.from_userid(ev['userid'])
menu_test = SimpleMenu(title="This is a test")
menu_test.append(Text('This is a test'))
menu_test.send(player.index)
This is what it looks like with my code

This is what it is supposed to look (not the text, just the type of display)
