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

[TF2] Getting a weapon's attributes?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 11-11-2012 , 15:39   [TF2] Getting a weapon's attributes?
Reply With Quote #1

I figured I'd ask here since I'm out of ideas.
How would one get a weapon's attributes indexes and values? I already tried GetEntData with the DT_AttributeList table and looping through the various members, but that only returned weird values (either very high, 0, or very low).
So, is this something Valve blocked for some reason? Is there a way to get the attributes via an extension (calling some CEconItem function)?

My last resort is parsing the whole item data via php and saving the attributes to a database, but that seems very unefficient to me.

Thanks in advance for any reply
__________________
napalm00 is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 11-11-2012 , 16:19   Re: [TF2] Getting a weapon's attributes?
Reply With Quote #2

Nevermind I'm an idiot.
__________________
napalm00 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 18:51.


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