Raised This Month: $ Target: $400
 0% 

[TF2] Faster charger for medic and spy for a specific client


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DeviusCreed
Junior Member
Join Date: Dec 2006
Old 04-06-2009 , 12:54   Re: [TF2] Faster charger for medic and spy for a specific client
Reply With Quote #5

PHP Code:
//pluginstart
g_condOffset FindSendPropInfo("CTFPlayer","m_nPlayerCond");

//wherever
new cond GetEntData(clientg_condOffset);
if(
cond != 16 && cond != 20 && cond != 24//16 cloaked: 20 cloaked/disguising 24 cloaked/disguised.

    
SetEntDataFloat(clientg_cloakOffsetcloakAmount[client]);

You can check the playercond for an ubercharge too. Forgot what value(32 it think).
DeviusCreed 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 18:14.


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