Raised This Month: $32 Target: $400
 8% 

[HL2DM] team change fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Master53
Veteran Member
Join Date: Dec 2009
Plugin ID:
3254
Plugin Version:
1.02.43
Plugin Category:
Technical/Development
Plugin Game:
Half-Life 2 Deathmatch
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    stops a bug where if you use the options menu to change your team it will slay you.
    Old 09-22-2012 , 08:15   [HL2DM] team change fix
    Reply With Quote #1

    //Info:
    if you are running a hl2dm mod and you don't want the players changing team.
    this plugin also allows you to change the client team and model to any model in the game.
    natives must be used for this plugin if you want to set the client team or model.
    this plugin will prevent the sourcemod natives for team and model so use the natives
    in this plugin if you are using it.

    //Natives:
    PHP Code:
    native SetClientModel(ClientString:playermodel[]);

    native SetClientTeam(ClientTeam); 
    Requires SDK Hooks 2.0 or later

    All work has been released by and from http://unitservers.com/
    Attached Files
    File Type: inc teamfix.inc (93 Bytes, 333 views)
    File Type: sp Get Plugin or Get Source (TeamFix.sp - 469 views - 6.0 KB)
    File Type: smx TeamFix.smx (5.6 KB, 427 views)
    __________________
    Master(d)




    Last edited by Master53; 03-01-2013 at 14:56.
    Master53 is offline
    Benjamin1995
    SourceMod Donor
    Join Date: May 2009
    Location: Germany
    Old 11-14-2012 , 14:34   Re: [HL2DM] team change fix
    Reply With Quote #2

    Hey,

    it will prevent the teamchange but it should also spam a message in the chat maybe it's better to remove that too.

    Benni
    __________________
    Benjamin1995 is offline
    Send a message via Skype™ to Benjamin1995
    Master53
    Veteran Member
    Join Date: Dec 2009
    Old 11-20-2012 , 07:34   Re: [HL2DM] team change fix
    Reply With Quote #3

    Updated and fixed
    __________________
    Master(d)



    Master53 is offline
    Ethorbit
    Member
    Join Date: Sep 2016
    Location: Oregon
    Old 05-31-2017 , 15:56   Re: [HL2DM] team change fix
    Reply With Quote #4

    Crashes players upon joining.
    Ethorbit is offline
    Master53
    Veteran Member
    Join Date: Dec 2009
    Old 07-25-2017 , 16:17   Re: [HL2DM] team change fix
    Reply With Quote #5

    i will fix this problem and post update
    __________________
    Master(d)



    Master53 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 09:28.


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