Garry's Mod Leaks

defense door

Submitted by AABBCCDDEE, , Thread ID: 192476

Thread Closed
03-01-2021, 06:37 AM
This post was last modified: 23-01-2022, 03:50 AM by AABBCCDDEE
#1
-- This is for SINGLEPLAYER, for personal use to learn something. don't put it in some swerver --


so basically, this defense door is like ewlite (elitelupus). it's almost exactly like it but with some little changes. i will showcase chu what it looks like:


https://streamable.com/41r8l3


also a blacklist for certain weapons!

blacklist code is in sv:

"--[[

Defence Door Weapon Blacklist

Format is ["weapon_class"] = true for any blacklisted weapons.

]]

local blacklist = {

["m9k_ragingbull"] = true

}


hook.Add( "EntityTakeDamage", "DefenceDoor.TakeDamage", function( ent, dmginfo )

if !ent:GetNWBool( "DefenceDoor" ) then return end

if IsValid(dmginfo:GetAttacker():GetActiveWeapon()) and blacklist[dmginfo:GetAttacker():GetActiveWeapon():GetClass()] then return end

if IsValid(dmginfo:GetAttacker()) and dmginfo:GetAttacker():IsPlayer() then
ent:SetHealth( ent:Health() - dmginfo:GetDamage() )
end

if ent:Health() <= 0 then

if IsValid( ent:GetNWEntity( "DefenceDoor.Owner" ) ) then
ent:GetNWEntity( "DefenceDoor.Owner" ):SetNWBool( "DefenceDoor.IsOwner", false )
end

ent:Remove()
end
end )"

stuffy for the defense door:

Content locked
This content has been locked. Please login or register in order to unlock it.
This hidden content has been reported as not working 0 times this month.
1 times in total
The link in this hidden content has been reported as down 0 times this month.
3 times in total
lweo was here

RE: defense door

#2
what kind of HUD is this because I couldn't find it anywhere

RE: defense door

#3
Pretty cool addon and also working still

RE: defense door

#4
12-05-2021, 01:12 PM
mates22110 Wrote:
Pretty cool addon and also working still

are u sure ? link is down XD
MR. BACKDOOR BUSTER Pepenice

RE: defense door

OP
#5
updated the link, pretty pog!
lweo was here

RE: defense door

#6
Dont use this in a server i will copyright strike Ur server i am the legal owner of this addon It was made for Shock Networks

RE: defense door

#7
thanks this looks intresting im trying to make a custom hud for it tho that updates instantly

RE: defense door

OP
This post was last modified: 23-01-2022, 03:47 AM by AABBCCDDEE
#8
soosramirez, your not the owner of this and this isn't your content.

this isn't made for 'shock networks', it's made for nobody besides for personal use.
lweo was here

RE: defense door

#9
14-08-2021, 08:06 PM
SoosRaMIREZ Wrote:
Dont use this in a server i will copyright strike Ur server i am the legal owner of this addon It was made for Shock Networks
a. this is what the forum is for, leaking addons
b. you cannot "copyright strike" a server
c. if they use the correct host, you cannot do anything about it ( only hexane does something about stolen code )

Lost Programmer
My messages are open, ask me anything!
My Github

RE: defense door

#10
Nice im looking for this gj

Users browsing this thread: 1 Guest(s)