Raised This Month: $51 Target: $400
 12% 

[HL2DM] - Team Switch


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Peter Brev
Member
Join Date: Aug 2023
Plugin ID:
8665
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Half-Life 2 Deathmatch
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Switch teams through commands or a menu.
    Old 03-17-2024 , 13:58   [HL2DM] - Team Switch
    Reply With Quote #1

    Very old plugin that I had from 2018 when I was learning Sourcemod. HL2DM does not really give you hints as to how to easily switch teams. This should solve this problem through commands or through a menu. Just updated it quickly. Match servers may have that, but for servers that do not ( looking at public servers ), this should be fine.

    !teams/!switch - Will open a menu to switch teams.
    !rebels - Switch to rebels.
    !combine - Switch to combine.
    !spec/!spectate - Switch to spectators.

    N.B. Requires cl_showpluginmessages to be to 1 for menus to show.

    In theory, this should also work in any games that support the jointeam command.
    Attached Files
    File Type: sp Get Plugin or Get Source (jointeam.sp - 41 views - 4.9 KB)
    Peter Brev is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 16:40.


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