Raised This Month: $51 Target: $400
 12% 

[TF2] Get Weapon Classname by Entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 12-12-2015 , 01:20   [TF2] Get Weapon Classname by Entity
Reply With Quote #1

So there exists GetClientWeapon which grabs the classname of the weapon the client is holding.

But I can't for the life of me find how to grab the classname of any weapon the client has, by having its entity index.
Phil25 is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 12-12-2015 , 01:39   Re: [TF2] Get Weapon Classname by Entity
Reply With Quote #2

GetEdictClassname?
Potato Uno is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 12-12-2015 , 02:23   Re: [TF2] Get Weapon Classname by Entity
Reply With Quote #3

I abort my question. It was a big mistake on my side that doesn't have anything to do with the topic. GetEdictClassname and GetEntityClassname work just fine.
Phil25 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 04:16.


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