Raised This Month: $ Target: $400
 0% 

Changing Uber Charge Time and Cloak Time


Post New Thread Reply   
 
Thread Tools Display Modes
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 06-13-2008 , 23:27   Re: Changing Uber Charge Time and Cloak Time
Reply With Quote #11

Quote:
Originally Posted by naris View Post
PHP Code:
stock tf2_CloakMeterOffset;
stock bool:tf2_CloakMeterSet false
?
bl4nk is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 07-10-2008 , 17:05   Re: Changing Uber Charge Time and Cloak Time
Reply With Quote #12

Improved stocks for cloak & uber:

Code:
stock Float:TF2_GetCloakMeter(client)
{
    return GetEntPropFloat(client, Prop_Send, "m_flCloakMeter");
}

stock TF2_SetCloakMeter(client,Float:cloakMeter)
{
    SetEntPropFloat(client, Prop_Send, "m_flCloakMeter", cloakMeter);
}
Attached Files
File Type: inc tf2_cloak.inc (540 Bytes, 147 views)
File Type: inc tf2_player.inc (4.1 KB, 186 views)
naris is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 07-11-2008 , 18:56   Re: Changing Uber Charge Time and Cloak Time
Reply With Quote #13

Semi-related question, is there a way to force a player to become Ubercharged, without a Medic player?
__________________
msleeper is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-12-2008 , 07:56   Re: Changing Uber Charge Time and Cloak Time
Reply With Quote #14

There used to be a stock for it... and then Valve removed support for it...
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami 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:25.


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