Tired of manually preaparing the list of enabled addons? """ function CallEnabledAddons() local Addons = engine.GetAddons() for _, Addon in pairs(Addons) do if Addon["mounted"] == true then local AddonTitle = Addon["title"] local AddonID = Addon["wsid"] local AddonMessage = "Addon: " .. AddonTitle .. ", workshop link: steamcommunity.com/sharedfiles/f…" .. AddonID print(AddonMessage) end end end if CLIENT then concommand.Add("call_enabled_addons", function() CallEnabledAddons() end) end """ Use that code above, lunch it on the lua_openscript_cl and then you can use command: call_enabled_addons. This command will print for you list of the enabled addons with workshop links!
1
why you gotta add a whole lotta concats? why not just use string.format?
OOO YOU MUST USE FUCTION THAT REPLACES %s WITH ARGUMENTS OOOOOOOOOOOOOOOOOOOOO
string.format is cleaner and is perfect for a scenario of this nature, shut yo ass up
"string.format is cleaner and is perfect for a scenario of this nature, shut yo ass up" Only when you write in C/C++. Not in high level scripting language