Raised This Month: $ Target: $400
 0% 

[TF2] Wearit (v1.6 dated 16Feb2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Fearts
ferts of daeth
Join Date: Oct 2008
Plugin ID:
7428
Plugin Version:
1.6
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Players can wear any cosmetic items. Admins can force players to wear any cosmetic items.
Old 12-24-2020 , 23:27   Re: [TF2] Wearit
Reply With Quote #1

Code:
SDKHook(hat, SDKHook_SetTransmit, HatTransmit);


public Action HatTransmit(int entity, int client)
{
    if(GetEntPropEnt(entity, Prop_Send, "m_hOwnerEntity") == client)
        return Plugin_Continue;

    return Plugin_Handled;
}
My friend sent me this code. This way if players on the server don't want to see plugin generated items they don't have to.
__________________
Fearts is offline
Reply


Thread Tools
Display Modes

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 11:40.


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