Raised This Month: $ Target: $400
 0% 

[:3] TF2_CTFWeaponInfo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 09-15-2010 , 09:22   Re: [:3] TF2_CTFWeaponInfo
Reply With Quote #12

The this pointer of a CTFWeaponBase detour will give you an CTFWeaponBase object that inherits from CBaseEntity. The object represents the actual weapon in the world. Then you can look up m_hOwner (or m_hOwnerEntity, I forget the property name) to get the entity of the player that owns the weapon.
Wazz 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 22:54.


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