Add advdupe2 check

This commit is contained in:
wrefgtzweve 2021-10-31 15:00:33 +01:00
parent ec34c65767
commit 53d7073d8f
No known key found for this signature in database
GPG Key ID: EEEE2B0AA876845C

View File

@ -1,3 +1,8 @@
if not AdvDupe2 then
PrintMessage( 3, "Advanced duplicator 2 is not installed. Better dupe has been disabled." )
return
end
hook.Add( "PostGamemodeLoaded", "BetterDupeLoad", function()
local duper = weapons.GetStored( "gmod_tool" )["Tool"]["duplicator"]