--[[-------------------------------------------------------------------------
Update Information
---------------------------------------------------------------------------]]
-- Add a receiver for EdgeScoreboard:UpdateInfo.
net.Receive("EdgeScoreboard:UpdateInfo", function()
-- Read the data from the server.
EdgeScoreboard.Outdated = net.ReadBool()
EdgeScoreboard.LatestVersion = net.ReadString()
-- Remove the notification code by commenting it out or deleting it.
-- if EdgeScoreboard.Outdated then
-- EdgeScoreboard.Notify(EDGESCOREBOARD_NOTIFY_POPUP, "You are currently using version " .. EdgeScoreboard.Version .. " of EdgeScoreboard which now has become outdated.\nThe latest version of EdgeScoreboard is version " .. EdgeScoreboard.LatestVersion .. " and can be downloaded from Gmodstore.com.\nKeeping addons updated is important to make sure you receive new features, bug fixes, etc.\nThis message is only shown to those who has configuration access.")
-- end
end)