AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Admin Addcond (https://forums.alliedmods.net/showthread.php?t=342773)

TinyDeskEngineer 05-13-2023 08:41

[TF2] Admin Addcond
 
2 Attachment(s)
This plugin allows for admins to give/remove conditions on players in TF2, using the console commands sm_addcond and sm_removecond.

sm_addcond takes a condition ID, and optionally a duration in seconds, as well as a target identifier. The command gives an infinite condition to the executing player by default. (To give an infinite duration condition to another player, enter -1 as the duration)
sm_removecond takes a condition ID, and optionally a target identifier. The command targets the executing player by default.
Both commands require admins to have the "cheats" flag enabled.

Example commands:
sm_addcond 5 -1 @red: Applies permanent Medigun Übercharge on all players on RED.
sm_addcond 34 60: Applies Canteen crit boost to yourself for one minute.
sm_removecond 7 @all: Immediately cancels any player's taunt, if they are performing one.

Bugs: TFBots seem to be unable to be targeted by the commands, even though they should get targeted.

Hoto Cocoa 05-13-2023 09:57

Re: [TF2] Admin Addcond
 
https://forums.alliedmods.net/showthread.php?p=2243764
https://forums.alliedmods.net/showthread.php?p=2713306
???

TinyDeskEngineer 05-13-2023 10:08

Re: [TF2] Admin Addcond
 
Oh. I was not aware the second plugin existed. I knew of the first one, but that one only allowed a certain set of conditions and required configuration, so I created this.


All times are GMT -4. The time now is 17:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.