Thread
:
[ANY] Target Set Team
View Single Post
Author
Message
chromatikmoniker
Junior Member
Join Date: Apr 2024
05-01-2024 , 22:11 [ANY] Target Set Team
#
1
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>
Attached Files
Setteam.smx
(4.7 KB, 27 views)
Get Plugin
or
Get Source
(Setteam.sp - 62 views - 1.9 KB)
chromatikmoniker
View Public Profile
Send a private message to chromatikmoniker
Find More Posts by chromatikmoniker