Es menu
From EventScripts Community Encyclopedia
|
[edit] OverviewSyntax: Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.Variation of this command that doesn't expand variables: es_xmenu [edit] DescriptionDisplays an on-screen HUD menu in Counter-Strike: Source using the menutext you specify.
[edit] Parameters
[edit] ExamplesDisplay a menu to the user welcoming them to the server es_menu 10 event_var(userid) "Welcome to Mattie's Test Server!\n \nServer rules:\n1. Do not use profanity.\n2. No porn sprays.\n3. You can't shoot Mattie." Display a menu to the user using es_format es_xsetinfo menu 0 es_format menu "%1 Welcome To Our Server\nServer Info:\n->1 Server IP: %2:%3\n->2 Current Map: %4\n->3 Servers Admin: Skillz, Wonder, Menu, Example\n \nServer Rulles:\n->4 No Use Cheats\n->5 Dont Do TK\n \n0 Cancel" event_var(es_username) server_var(ip) server_var(hostport) server_var(eventscripts_currentmap) es_menu 0 event_var(userid) server_var(menu) Displays a menu using the numberkeystring es_menu 0 event_var(userid) "Choose the function:\n->1. Kick \n->2. Ban \n->3. Slay \n->0. Exit" 1230
[edit] Notes
[edit] See also |
