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

[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


Thread Tools
Display Modes

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 15:07.


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