Garry's Mod

Garry's Mod

150 ratings
DrG Company - Annihilation Prop
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun
File Size
Posted
35.819 KB
1 Jan, 2018 @ 6:30am
1 Change Note ( view )

Subscribe to download
DrG Company - Annihilation Prop

Description
Q: What is this?
A: A useless entity. In fact so useless it's indispensable.

Q: And... what does it do?
A: Kills you when you touch it. Unless you're the one who spawned it. So it's kinda like a protection.

Q: But... why?
A: To learn LUA programming in GMOD. You can probably use it to prank your friends.

Q: And where?
A: You can find this entity under Entities/DrG Company in the Spawnmenu

Client-side convars:
drg_ap_highlight 0-1 (0 by default) => highlight your annihilation props

Server-side convars:
drg_ap_killplayers 0-1 (1 by default) => whether or not the prop can kill players
drg_ap_killnpcs 0-1 (1 by default) => whether or not the prop can kill NPCs
drg_ap_stopdriving 0-1 (1 by default) => whether or not the prop stops vehicles that are ramming it
drg_ap_ignoreowner 0-1 (1 by default) => whether or not the prop is harmless to its owner
drg_ap_adminoverride 0-1 (0 by default) => whether or not admins are considered as owners
drg_ap_replication 0-1 (0 by default) => whether or not the prop replicates itself when it kills a player/NPC
drg_ap_replication_number <number> (1 by default) => how many times the prop will replicate with each kill
drg_ap_model <model> (trafic cone by default) => the model used by the prop
drg_ap_burning 0-1 (1 by default) => whether or not 2 annihilation props touching each other should burn
drg_ap_restrict_gravgun 0-1 (0 by default) => restrict the gravity gun to the owner
11 Comments
Damn Lamb 28 Oct, 2018 @ 11:14am 
What happens if I put it near a Replicator's metal source?
ileryon 2 Mar, 2018 @ 8:14pm 
So more useless overpowered useless shit?
Sillirion 17 Feb, 2018 @ 3:05pm 
hey oh gmod wiki ça existe =o)
http://wiki.garrysmod.com/page/Entity/GetOwner nondidiou
ᵇᵘˡˡʸ White I rabbit 19 Jan, 2018 @ 10:32am 
well i didnt know that
Dragoteryx  [author] 18 Jan, 2018 @ 11:31am 
You need to have a prop protection mod (I use Simple Prop Protection).
The mod is trying to find who owns the entity but without a prop protection mod there is none.
ᵇᵘˡˡʸ White I rabbit 18 Jan, 2018 @ 10:38am 
broken for me
[DrG Company - Annihilation Prop] lua/entities/drg_annihilation_prop/shared.lua:16: attempt to call method 'CPPIGetOwner' (a nil value)
1. IsOwner - lua/entities/drg_annihilation_prop/shared.lua:16
2. Annihilate - lua/entities/drg_annihilation_prop/init.lua:37
3. unknown - lua/entities/drg_annihilation_prop/init.lua:70

Greggy 5 Jan, 2018 @ 1:51pm 
you should sell this to the army to drop over iran,iraq, and north korea:steamhappy:
Dragoteryx  [author] 4 Jan, 2018 @ 10:50am 
To learn how to program with LUA and have fun at the same time.
And I had lots of fun.
Skalog 4 Jan, 2018 @ 10:28am 
why did you even creat this usless shit
Dragoteryx  [author] 4 Jan, 2018 @ 10:13am 
Ikr.