• Looking for an Changelog addon?
    17 replies, posted
Hey, i saw an Changelog addon on a Server it looks like. You have a small GUI. Where the Headline say Changelog v 1.6.4 14.05.2014 v1.01 [NEW] Addon e.g [Update] Addon [Fix] bug and so on. Did someone know what i mean ?
How was it displayed? Just in a simple derma menu?
Wrong Section Sir
[QUOTE=code_gs;44802479]How was it displayed? Just in a simple derma menu?[/QUOTE] It was a Box in the Center of the Screen, just like ULX is. and sry i dont know how a "derma menu" looks like.... ok i google "derma menu" and yes it was such a menu! [QUOTE=wdaniel426;44803035]Wrong Section Sir[/QUOTE] Garry's Mod General Discussion = Its not a normal Discussion Screenshots = I think its clear Movies = also wrong Saves and Dupes = nope its not a save of something Gamemode & Addon Releases = Yes i look for an Addon Release Developer Discussion = I am not a Developer Help & Support = Ok, this is possible to. But i think its more like looking for an Addon releases. But if u wish i cant change that to "Help & Support"
[QUOTE=UnDeadClank;44805899] Gamemode & Addon Releases = Yes i look for an Addon Release [/QUOTE] But thats the point of this forum. The point of this forum is to post YOUR WIP, finished, or paid addons.
Sry for may bad English, but what is WIP ?
[QUOTE=UnDeadClank;44806142]Sry for may bad English, but what is WIP ?[/QUOTE] Work in Progress
Thx, ok now back to my question i think (: Did anyone know such a Addon ?
here you go [LUA] local changelog = { date = "14/05", version = "v1.0.0", title = "Cool update", content = [[[New] Added Changelog [Fixed] It does multiple lines probably [Removed] Something]] } local function ShowChangelog() local frame = vgui.Create( "DFrame" ) frame:SetSize( 400, 500 ) frame:Center() frame:SetTitle( "Changelog " .. changelog.version ) frame:MakePopup() local scroll = vgui.Create( "DScrollPanel", frame ) scroll:Dock( FILL ) local date = vgui.Create( "DLabel", scroll ) date:SetText( changelog.date .. " " .. changelog.title ) date:Dock( TOP ) date:SizeToContents() local update = vgui.Create( "DLabel", scroll ) update:SetText( changelog.content ) update:Dock( FILL ) update:SizeToContents() local ok = vgui.Create( "DButton", frame ) ok:Dock( BOTTOM ) ok:SetText( "Got it!" ) ok.DoClick = function() frame:Close() end end concommand.Add( "changelog", ShowChangelog ) hook.Add( "InitPostEntity", "ShowChanges", ShowChangelog ) [/LUA] goes in garrysmod/addons/changelog/lua/autorun/client i have no idea if this works, i havent tested it at all i think i may have messed up the scroll panel part
[QUOTE=UnDeadClank;44806865]Thx, ok now back to my question i think (: Did anyone know such a Addon ?[/QUOTE] [code]-- Run this clientside local changelog = [[Changelog: ]] hook.Add("OnPlayerChat", "Changelog", function(ply, text, teamChat, isDead) if (text == "!changelog") then local DPanel = vgui.Create( "DPanel" ) DPanel:SetPos( 10, 30 ) -- Set the position of the panel DPanel:SetSize( 200, 200 ) -- Set the size of the panel DPanel:SetTitle( "Changelog" ) -- Sets the title of the panel local DLabel = vgui.Create( "DLabel", DPanel ) DLabel:SetPos( 10, 10 ) -- Set the position of the label DLabel:SetText( changelog ) -- Set the text of the label DLabel:SizeToContents() -- Size the label to fit the text in it end end)[/code] [editline]14th May 2014[/editline] Nevermind, rejax's is much nicer.
Thank u very much (: [editline]14th May 2014[/editline] Here: [url]http://puu.sh/8M7oZ.jpg[/url] <- That is the addon i saw
[QUOTE=UnDeadClank;44807560]Thank u very much (: [editline]14th May 2014[/editline] Here: [url]http://puu.sh/8M7oZ.jpg[/url] <- That is the addon i saw[/QUOTE] it's for an addon only not for all addons it's possible this addon is not public yet. And here this section is for developer for your information then your not. If some one can move this to "Help & Support" ?
[QUOTE=UnDeadClank;44807560]Thank u very much (: [editline]14th May 2014[/editline] Here: [url]http://puu.sh/8M7oZ.jpg[/url] <- That is the addon i saw[/QUOTE] I've seen something like that before, but I can't remember where.
[QUOTE=lotus006;44807780]it's for an addon only not for all addons it's possible this addon is not public yet. And here this section is for developer for your information then your not. If some one can move this to "Help & Support" ?[/QUOTE] Actually the correct section would be Developer Discussion; Help & Support isn't for lua help.
[QUOTE=code_gs;44810979]Actually the correct section would be Developer Discussion; Help & Support isn't for lua help.[/QUOTE] It should be though, as it is where a noob would go for help, then get banned...
[QUOTE=deadremains45;44812444]It should be though, as it is where a noob would go for help, then get banned...[/QUOTE] [URL="http://facepunch.com/showthread.php?t=1251673"]Or if you read the stickies, you would know.[/URL]
[QUOTE=rejax;44806935][LUA] local changelog = { date = "14/05", version = "v1.0.0", title = "Cool update", content = [[[New] Added Changelog [Fixed] It does multiple lines probably [Removed] Something]] } local function ShowChangelog() local frame = vgui.Create( "DFrame" ) frame:SetSize( 400, 500 ) frame:Center() frame:SetTitle( "Changelog " .. changelog.version ) frame:MakePopup() local scroll = vgui.Create( "DScrollPanel", frame ) scroll:Dock( FILL ) local date = vgui.Create( "DLabel", scroll ) date:SetText( changelog.date .. " " .. changelog.title ) date:Dock( TOP ) date:SizeToContents() local update = vgui.Create( "DLabel", scroll ) update:SetText( changelog.content ) update:Dock( FILL ) update:SizeToContents() local ok = vgui.Create( "DButton", frame ) ok:Dock( BOTTOM ) ok:SetText( "Got it!" ) ok.DoClick = function() frame:Close() end end concommand.Add( "changelog", ShowChangelog ) hook.Add( "InitPostEntity", "ShowChanges", ShowChangelog ) [/LUA][/QUOTE] I don't understand how you code this and not even test it lol Anyways, thanks for the code!
I made that menu, it's on my Murder servers.. To answer your question, no it's not public.
Sorry, you need to Log In to post a reply to this thread.