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

[TF2] How to add HUD meters


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 02-28-2022 , 20:14   [TF2] How to add HUD meters
Reply With Quote #1

Does anyone know how to add HUD meters for players when a fake item is equipped?

For example, if a fake cleaver is given to a scout the 'cleaver' recharge time is not shown. How can I make it appear?

I incorrectly assumed it would be something like this:

PHP Code:
int weapon GetPlayerWeaponSlot(clientTFWeaponSlot_Secondary);
SetEntPropFloat(weaponProp_Send"m_flEffectBarRegenTime"GetGameTime() + 15.0); 
But unfortunately that doesn't add the HUD meter.

Any ideas how I can add the HUD meter?
PC Gamer 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 22:51.


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