How would i code a box that pops up in the center of the screen with two text fields.
Looks like this: [url]http://gyazo.com/f7cda288cf1c51d967b23c6dc9a956a1[/url]
I have a concommand that functions fine, i just needed a box with a name and password field which runs this console command
[CODE]RunConsoleCommand("bw_join", joinnametext, joinpasstext)[/CODE]
The command works fin, i just needed a box that opens when i press F2 To join the faction.
Whomever can help me with this i will reward you with something.
This is the wrong place to post this according to this [url]http://facepunch.com/showthread.php?t=1251673[/url] you can make this easily by following [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexe102.html[/url]
Ok thanks, Any help will still be much appreciated
Is that code for gm12?
Yes it is, however Garry did not changed anything much relating the derma libraries however he did change the following:
DComboBox is swapped with DMultiChoice.
DSysButton was removed. This panel used the Marlett font to create icons such as the `close` button for windows. This isn’t needed anymore since we’re using GWEN skins. Plus it didn’t work properly on Mac anyway.
DBevel is removed. This panel was purely decorational - so it shouldn’t be hard for you to replace.
DColorMixer.RGBBar is now DColorMixer.RGB. GMod13 using Grocel’s DColorMixer
[url]https://docs.google.com/document/d/1khSuIYrAMkqXu7wlH5YRJNwz6hOH6Xqi5lqBhE3x6gA/edit?pli=1[/url]
Not too much has been changed you can still use [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexe102.html[/url]
just don't use DSysButton and you should be fine.
Sorry, you need to Log In to post a reply to this thread.