How would I disable the Player Model widget in the context menu? I would rather players purchase their playermodels in pointshop rather than just select them from the context menu.
Well, this stops the Player Editor from working:
[CODE]
local l = list.GetForEdit( "DesktopWindows" )
l.PlayerEditor = nil
[/CODE]
But I'm still not sure how you would hide it... I think you'd have to change [URL="https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/sandbox/gamemode/spawnmenu/contextmenu.lua#L178-L219"]this bit of code here[/URL], but I can't think of an easy way to do it without having to rewrite the entire thing
Sorry, you need to Log In to post a reply to this thread.