Garry's Mod

Garry's Mod

55 ratings
Better God Mode
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Roleplay
File Size
Posted
Updated
4.064 KB
22 Dec, 2023 @ 4:35am
12 Apr @ 1:56pm
12 Change Notes ( view )

Subscribe to download
Better God Mode

Description
You can enable this in console by setting "Better_God_Mode" to 1 or anything above.



Garry's Mod has a reasonably good god mode, however it does not completely prevent you from dying, which this addon aims to do! This is basically a more advanced god mode.



This uses PlayersShouldTakeDamage, EntityTakeDamage, and GetFallDamage hooks to prevent damage.

This overrides Kill() and KillSilent() to prevent death. (Can be changed in console with: Better_God_Mode_Block_Kill and Better_God_Mode_Block_KillSilent)

This can also block player suicide if you set Better_God_Mode_Deny_Suicide to 1 or anything above. (Will use hook: CanPlayerSuicide)

You can set Better_God_Mode_Admin_Only to 1 or anything above to make sure only admins can have better god Mode.

Enjoy!
6 Comments
dirtydemps 3 Oct @ 4:57pm 
i am demomansjdfscb gshfjdwashdfjsedhfjgrhfjml,rwjgkrjkfjcxlkdirugjkidvcusujmcuruemowehhwidjmosdsiwnsdiedsuecurjmdoeuhsuilokikeiekifjrhduhbfehergfedhrmnt gbfdrxkntheyikrtf
Valerii-Albertovich 28 May @ 9:52pm 
Ok thanks
Dishings  [author] 25 May @ 12:51pm 
@Valerii-Albertovich
The Quark Bomb addon is specifically made to bypass god mode addons, it even used to specifically disable this one, if you want a stronger god mode alternative I’d recommend my “25 Admin Gun” addon.
Valerii-Albertovich 23 May @ 7:11am 
Could you please make me unkillible when i use this command and explode quark bomb
Mr.Capybara 19 Apr @ 5:22pm 
Better_God_Mode_Admin_Only. Right.
Biocrab 22 Dec, 2023 @ 2:31pm 
get this on the front page