Garry's Mod

Garry's Mod

[E2] DamageCore
22 Comments
Feb 1 @ 7:31pm 
umm beetlejuicehero you can lol i have a few codes ive got done that heal people lol
Nov 28, 2025 @ 8:19pm 
i would like to make a suggestion can you make an [E2] HealCore that has things for e2s to be able to heal players and npcs as there is nothing in the workshop for e2s to heal
Oct 27, 2025 @ 4:38pm 
Internal error 'entities/gmod_wire_expression2/core/custom/damagecore.lua:323: bad argument #1 to 'pairs' (table expected, got number)' at line 324, char 9
Sir Papate  [author]
Jun 19, 2023 @ 1:50pm 
@Diablo I need to do more testing before
Jun 19, 2023 @ 12:53pm 
update the workshoP!!!!!!!!!!!!!!!!!!!!!
Jun 17, 2023 @ 5:06pm 
you beautiful, beautiful man
Sir Papate  [author]
Jun 16, 2023 @ 3:02pm 
@k it's done! You can download the last update on the Github page: https://github.com/sirpapate/damagecore
Jun 2, 2023 @ 9:45am 
Any plans to update to the new events system?
May 19, 2022 @ 12:19pm 
aw yup, its cool.
Jun 10, 2019 @ 11:19am 
Alrighty but why does it crash servers when it tries to damage npcs
Sep 13, 2018 @ 11:01pm 
does this no longer work?
Dec 11, 2017 @ 9:53pm 
Great addon. Could you add a limit for maximum executions per second? Every now and then for me an e2 tick quotas if there's a huge radius damage.
Nov 10, 2017 @ 4:48am 
ok managed to make it work but it will not kill a player if they are targeted
Jan 30, 2017 @ 12:11pm 
I do not think this E2 Extension Works anymore.
Jul 25, 2016 @ 1:26pm 
Hello, is there a way to make an e2 only able to damage me, or people on my prop protection?
Sir Papate  [author]
Jul 18, 2016 @ 1:19pm 
Oh thx xD
Jul 18, 2016 @ 6:13am 
You mispelled Damage in the pic in case you didn't notice :)
Sir Papate  [author]
Jul 8, 2016 @ 11:09am 
I think this is not necessary, you just should do a foreach like that:

foreach(I, Ent:entity = Entities){
. Ent:takeDamage(...)
}
Entities is an array of entities

But you give me a idea! I can do that for the E:trackDamage()
Jul 7, 2016 @ 7:00am 
it's a lot better is there's
E=array(something)
E:takeDamage(N)
Jul 4, 2014 @ 4:18pm 
Wow, I checked out the code and it actually ONLY applies damage to players. From the description I expected it to apply damage to props.

I've modified it for my server now so it only applies damage to props owned by the player. I don't know why you would wan't a function that can apply damage to anyone with no restriction - people just set up E2s that mass kill everyone.

I don't mean to put this addon down, it's a great addition apart from that unexpected functionality, but you can of course do as you please now I have modified it for my needs :ss13ok:
Jul 3, 2014 @ 11:35pm 
Does this have a command like the player core to restrict it to only props shared via prop protection? I have players using it to cause damage on each other.
Jan 29, 2014 @ 7:25am 
Nice!