[ANY] Advanced Godmode
Description:
This plugin allows admins with the Slay flag to toggle godmode on themselves!
Commands:
sm_god - Player will take no damage
sm_buddha - Player will take no damage, but will still react to it (like rocket jumping).
sm_mortal - Makes the player mortal (removes all godmode effects).
Overrides:
sm_ag_other: Allow give god / buddha other players.
Godmode Features:
ANY: No block.
TF2: Sentrys not targetting.
TF2: Pyro can't deflected. (Air blast)
TF2: Sniper can't jarated player.
(1.1.1)
TF2: Scout can't milked player.
(1.1.1)
CSS: No flash.
(1.3.0)
Cvars:
sm_ag_version - Plugin version
sm_ag_removaltype - 0 = Disabled, 1 = Removes godmode when an attack key is pressed, 2 = Removes godmode when a player hurts a player, 3 = Removes godmode when a player killed a player.
sm_ag_noclipgod - 0 - Disabled. 1 - Gives godmode to admin whenever he activates noclip.
sm_ag_auto_update - 0 = Disabled 1 = Enables automatic plugin updating (has no effect if Updater is not installed)
sm_ag_spawn - 0 = Players automatically spawn with mortal, 1 = Players spawn automatically with godmode, 2 = Players spawn automatically with buddha.
sm_ag_remembergodmode - 0 = Disabled, 1 = If player somehow dies and he had godmode he will be given godmode automatically when he respawns.
Install Instructions:
Download AdvancedGodmode.smx
Place AdvancedGodmode.smx into your addons/sourcemod/plugins/ folder.
Special Thanks:
Seb3pg (TF2 Godmode for Admins)
SWAT_88 (No Block)
FlaminSarge (Jar of Ants)
Todo:
Nothing
Changelog:
1.5.1
- Fixed: On HL2DM you no longer respawn instantly when using invisible noclip.
- Fixed: When player go noclip remove all weapons. No more only one per slot.
- Added: Give default weapons on HL2DM when disabling noclip.
1.5.0
- Added: Cvar to allow admins come invisible.
- Added: Cvar if admin is on noclip stop player hold C4.
- Added: Cvar if admin is on noclip stop player pick up items.
1.4.0
- Added: Override "sm_ag_other" Allow give god / buddha other players.
- Added: Admin activity messages.
- Added: Cvar to remember godmode.
- Added: Cvar to make all players godmode when spawning.
- Many bug fixes.
1.3.0
- Added: Supports any games.
- Added: CSS no flash!
1.2.0
- Added: Updater
- Added: Give godmode when admin give themself noclip.
1.1.1
- Added: Player no longer get jarated / milked. (FlaminSarge: Jar of Ants)
- Bug fix: Not showing disabling message.
- Bug fix: If player death and he have godmode "Godmode" and "Buddha" bool not changing false.
1.1.0
- Changed: All players can now use "sm_mortal" command.
- Added: Targets.
- Added: Two new removal type: If player hurt a player and if player killed a player.
- Added: API!!!
1.0.0