Raised This Month: $ Target: $400
 0% 

Too many checks


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 04-15-2011 , 06:16   Re: Too many checks
Reply With Quote #9

Quote:
Originally Posted by FoxMulder View Post
I thought of this but then The Sandman came into mind

I think checking to see if the active weapon is in the 0 slot would suffice.
Sandman stopped using ammo quite a while ago, it now has a "charge" only similar to the Sandvich.

Isn't slot 0 = inventory slot 1 the main gun slot. I've never coded for tf2.


Just dump the tf2 netprops and have a look .. or here i found a dump online
http://www.joe.to/~bl4nk/other/netprops-tf2.txt

Values on Melee Weapons i'd check:

m_iItemDefinitionIndex
m_iEntityLevel
m_iEntityQuality
m_iClip1
m_iPrimaryAmmoType
AtomicStryker 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 00:42.


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