Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert users that this version of ACF is no longer maintained. #406

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Armoured Combat Framework
# This version of ACF is no longer maintained.
## The newest version of ACF with active development can be found at https://github.com/Stooberton/ACF-3


The Armoured Combat Framework is a [Garry's Mod][] addon which creates a balanced, realistic and fun to play combat damage system, simulating projectiles, armor and explosions, as well as engines and gearboxes.

Expand All @@ -11,4 +13,4 @@ Be sure to check out the [ACF Wiki][] for more ACF related information.
[Garry's Mod]: <http://garrysmod.com/>
[FP forum ACF thread]: <https://facepunch.com/showthread.php?t=1548397>
[ACF Issues]: <https://github.com/nrlulz/ACF/issues>
[ACF Wiki]: <https://github.com/nrlulz/ACF/wiki>
[ACF Wiki]: <https://github.com/nrlulz/ACF/wiki>
2 changes: 1 addition & 1 deletion lua/autorun/acf_globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ACF = {}
ACF.AmmoTypes = {}
ACF.MenuFunc = {}
ACF.AmmoBlacklist = {}
ACF.Version = 661 -- REMEMBER TO CHANGE THIS FOR GODS SAKE, OMFG!!!!!!! -wrex Update the changelog too! -Ferv
ACF.Version = 662 -- REMEMBER TO CHANGE THIS FOR GODS SAKE, OMFG!!!!!!! -wrex Update the changelog too! -Ferv
ACF.CurrentVersion = 0 -- just defining a variable, do not change

ACF.Year = 1945
Expand Down
8 changes: 8 additions & 0 deletions lua/autorun/client/deprecated.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
hook.Add("CreateMove", "Old ACF", function(Move)
if Move:GetButtons() ~= 0 then
chat.AddText(Color(255, 255, 255), "[ACF] ", Color(255, 25, 25), "This version of ACF no longer maintained.")
chat.AddText(Color(255, 255, 255), "The newest version is available at ", Color(160, 255, 160), "https://github.com/Stooberton/ACF-3")

hook.Remove("CreateMove", "Old ACF")
end
end)