How to make a menu in .cfg?

  • Thread starter Thread starter mhj
  • Start date Start date
M

mhj

Guest
Hey.
I'm quite new to making .cfg's for source, so I would ask you guys, how to make a menu in source games, like HL2:DM etc.

What it should be like;
When you presses a button, you've bound to ex. "open_menu", the menu should pop up in-game, with some choices that activates other commands. I would also like to have two pages in the menu.

What it's for;
It's for the Half-Life 2 modification, Garrys Mod or just GMod -'s gametype called RP.

If anyone would please explain how to make such a menu, I would be very glad.

-MHJ
 
I would also like to know this, In application to Admin features on servers. For example: "open_menu1" and a list with the server maps and you can click on any to "rcon changeleve"l to the map you select. Or "open_menu2" to open a menu with the current list of players on the server, to which you could kick any one with a press of a button. Those are two important ones, for me at least.
 
Back
Top