• NWVar editor requiring a keyvalue
    0 replies, posted
When trying to get the context menu's Edit Properties window to work I found that a network var requires a KeyName for the editor element to show. The wiki however [URL="http://wiki.garrysmod.com/page/Editable_Entities"]states[/URL] that setting a KeyName is only encouraged, not required. Is the wiki wrong here or is this a bug? Example: [CODE] //Doesn't work self:NetworkVar("Float",1,"foo", { Edit = { type = "Float", min = 0, max = 5, order = 1}}) //Works self:NetworkVar("Float",1,"foo", { KeyName = "foo", Edit = { type = "Float", min = 0, max = 5, order = 1}})[/CODE]
Sorry, you need to Log In to post a reply to this thread.