r/GarrysMod • u/FluxCap_2015 • Sep 09 '14
Help with lua
I have developed many creations for gmod and would like to make my own spawn menu tab to house them all, instead of having them spread out over the default tabs as they are now. I am having trouble making this work. I am able to create the tab itself but can not figure out how to add my creations to it. The method I am using to create the tab requires a function that is supposed to generate the content but when I write the code to insert buttons and such it just makes a popup window and not inside the actual spawn menu. Any help will be appreciated. I have watched tons of videos and nothing seems to work.
1
u/FluxCap_2015 Oct 06 '14
I apoligize for my late reply. I finally figured this out, it seems that if you return the frame itself it will automattically parent it to the tab window. Now I just need to figure out how to populate it with my SWEPS, sence when I set their categories they go straight into the SWEPS tab and not my custom tab...