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

[TF2] Double Regen in Spawn (Invisible Hat Fix)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
EHG
Senior Member
Join Date: May 2009
Location: 127.0.0.1
Plugin ID:
2316
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This is a fix for equipped items being invisible until second regen.
    Old 04-24-2011 , 05:43   [TF2] Double Regen in Spawn (Invisible Hat Fix)
    Reply With Quote #1

    Description:
    With the Hatless Update valve introduced some changes to the item system. A new bug exists where a players equipped item is invisible until a second regen/respawn. This plugin fixes that by making the player regen a second time if he is in spawn and has just changed his inventory.

    Cvars:
    sm_DoubleRegen_delay "0.2" //Delay between the original regen and second.

    Dependencies:
    sdkhooks2 for hooking the spawn room trigger on touch.
    http://forums.alliedmods.net/showthread.php?t=106748

    Changelog
    1.1 - fixed a typo in cvar
    1.0 - release
    Attached Files
    File Type: sp Get Plugin or Get Source (DoubleRegen.sp - 445 views - 2.5 KB)
    File Type: smx DoubleRegen.smx (3.4 KB, 306 views)

    Last edited by EHG; 03-01-2012 at 11:49.
    EHG is offline
     



    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 14:29.


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