AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Target Set Team (https://forums.alliedmods.net/showthread.php?t=347509)

chromatikmoniker 05-01-2024 22:11

[ANY] Target Set Team
 
2 Attachment(s)
A plugin for Setting a Client's Team, this was mainly made so admins can either force bots onto a specific team or choose a team for someone.

In this plugin you can only specify all the way up to TeamNum 5 which is the max for Open Fortress and might be about the same for Team Fortress 2 Classic.

This is another command invoking plugin that uses ent_fire as the base to set a target's team which means sv_cheats must be enabled and that person must have the rights to use ent_fire in the first place.

Some of the code was largely based off of the plugin cexec, which i had originally made this idea into a small plugin that when combined with cexec would allow the admin to change the team of a client, but now you can do it all in one here!

Cvars:
sm_setteam <CLIENT> <TEAMNUMBER>


All times are GMT -4. The time now is 04:05.

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