Garry's Mod

Garry's Mod

68 ratings
25 Admin Gun
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Build, Cartoon, Fun
File Size
Posted
Updated
202.228 KB
25 Feb, 2024 @ 6:25pm
27 Apr @ 11:11am
162 Change Notes ( view )

Subscribe to download
25 Admin Gun

Description
Information:

Class-Name: -25_admin_gun-.
Category: -Dishings Weapon Addons-.

Instructions:

Primary-Attack: -Fire-.
Secondary-Attack: -Change Fire-Mode-.
Reload: -Fly-. 🎈

Developer Comments:

The 25 Admin Gun is made to be perfect for both fun and proper admin use.

The 25 Admin Gun does not require that all players install the addon for it to properly function.

The self-protection system is complex and smart, and works in harsh environments, and can repair itself.

If you want to allow another player to use the 25 Admin Gun, I recommend using: ULX.

The 25 Admin Gun may change a lot over time, I always want it to be the best it can be.

The 25 Admin Gun's code is updated and/or improved over random periods of time in which it is checked for errors.

For more information about changes made to the 25 Admin Gun, view the Change Notes.

Fire-Modes:

1: -Advanced Bullet-.

2: -Advanced Bullet(s)-.

4: -Super Bullet- ‍🏅

4: -Explosion Bullet-. 💥🥉

5: -Remove Bullet-. ❌

6: -Kill All NPC(s)-. 💔

7: -Kill All Player(s)-. 💔

8: -Kill All Entities-. 💔🥈

9: -Teleport-. 🌌

10: -Toggle Automatic-Defense-. 🛡

11: -Toggle Self-Protection-. 🛡

The 25 Admin Gun has self-protection, self-defense, and constantly runs security-checks to make sure only admin-players are able to use it or spawn NPCs with the 25 Admin Gun equipped.

If a player loses admin-privileges while holding the 25 Admin Gun, it will self-remove.

Special Features:

The 25 Admin Gun overrides damage, and other potentially malicious functions. (Self-Protection)

The 25 Admin Gun constantly checks for damage and malicious modifications and repairs itself. (Self-Defense)

The 25 Admin Gun constantly replaces it's hooks in case it's hooks were removed or overwritten. (Self-Defense)

The 25 Admin Gun is capable of back-up(s) in case self-protection fails. (Self-Protection) (Back-Up(s) Are Known To Be Blocked By: "QTG Hacker NPC 2.0 (NextBot)")

The 25 Admin Gun has a multi-layered way of killing, protecting, and defending.

The 25 Admin Gun is coded to be smart and properly kill entities rather than break entities, and the 25 Admin Gun will also avoid damaging entities that may be important for map functionality.

The 25 Admin Gun's self-protection is coded to be smart and will not block certain functions that may be required by maps or addons for them to work as intended.

The 25 Admin Gun can be used by NPCs. (Fire-Mode Will Be Locked To: --Advanced Bullet(s)-- (Automatic-Defense Mode Will Be Locked To: --Enabled--)

Players/NPCs using the 25 Admin Gun will not be able to damage themselves or each other using the 25 Admin Gun, this also works with self-protection disabled. (This Makes Sure Admins Can Safely Work Together)

Compare The 25-Admin-Gun To Other Admin-Guns:

(Only Confirmed With "Quickest" Overrides)

The 25 Admin Gun can protect admin-players from: "Rain's ultra admin gun".
The 25 Admin Gun can protect admin-players from: "Long Devplat Revolver".
The 25 Admin Gun can protect admin-players from: "QTG Admin Gun".
The 25 Admin Gun can protect admin-players from: "GOD CROWBAR".
The 25 Admin Gun can protect admin-players from: "Linux55's Admin Gun".
The 25 Admin Gun can protect admin-players from: "Universal Dragon Deagle (Admin)".
The 25 Admin Gun can protect admin-players from: "The Ultimate Admin Gun Fixed".
And more...

The 25 Admin Gun can kill players protected by: "Rain's ultra admin gun".
The 25 Admin Gun can kill players protected by: "Long Devplat Revolver".
The 25 Admin Gun can kill players protected by: "QTG Admin Gun".
The 25 Admin Gun can kill players protected by: "GOD CROWBAR".
(Other Previously Mentioned Admin-Guns Do Not Have Self-Protection)
And more...

Questions And Answers:

Why am I getting: "(<nowhere>)" errors?

This is likely because a 25 Admin Gun file failed to load, however you can safely ignore these errors because the 25 Admin Gun has backup files that will run if a file has failed, the only bad thing is that the overrides will not be as quick to run, meaning the 25 Admin Gun could possibly be a target of certain attacks, however it is still highly unlikely as the 25 Admin Gun will remain secure and capable of protecting/killing.
83 Comments
Dishings  [author] 30 Jul @ 4:19am 
@bbrz3
I like that idea, but it isn't possible unfortunately!
Now, the best that I could do is reset it's functions to whatever I want, but that is usually blocked for admin weapons and NPCs...
However, if I ever update this guns code, which I should... Then I will try to get more "hacky" with how the weapon kills stuff. :steamthumbsup::steamhappy:
bbrz3 28 Jul @ 2:22pm 
dont do this for qtg hacker though...
bbrz3 28 Jul @ 2:17pm 
I dont know if this is even possible but if it is maybe in the remover bullet setting you could make it so if the stuff you shoot at have scripts, the gun could add permanent break points at line 1 in all scripts of the parent?
Dishings  [author] 18 Jun @ 11:38am 
@miltank
Glad to hear it's working as intended! :steamthumbsup::steamhappy:
miltank 18 Jun @ 10:44am 
the 32 bit version of gmod doesnt crash
miltank 18 Jun @ 10:35am 
ent_remove 25_admin_pistol = refusing to delete world spawn entity & despite doing the max int in damage my game doesn't crash. good job
Dishings  [author] 18 Jun @ 9:38am 
@miltank
Sounds good! :steamthumbsup::steamhappy:
miltank 17 Jun @ 8:10am 
cool, thank you & yeah I don't know lua or glua to good & looked through a lot of stuff to see how things worked hard to credit in my case lol. I'll ask in the future if I can see how things work
Dishings  [author] 17 Jun @ 5:10am 
@miltank

Glad to hear it's making you feel invincible!

I actually really suggest that you do look at the code, maybe also my older code for the "Dishings Admin Gun", if that code still works...

Because the way that I learned how to do certain things; was by looking at other people's code, and seeing how they dealt with issues that I was having, and you can take any of my code if you want to! :steamthumbsup:

However, if I credited someone for helping me, it's good to keep that credit of course.

Good luck! :steamthumbsup::steamhappy:
miltank 17 Jun @ 3:21am 
I've never felt so safe in gmod lol can you tell me how to prevent my admin gun from being removed (I don't want to look through you code) the party cannon put's up a little bit of a fight against mingegod