Raised This Month: $ Target: $400
 0% 

How to identify an entity owner


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
v_rtex
New Member
Join Date: Jul 2007
Old 07-11-2007 , 09:05   How to identify an entity owner
Reply With Quote #1

for example
edict_t *m_pEnt = engine->PEntityOfEntIndex(33);

How to identify an entity (m_pEnt) owner (player whose entity such as npc_grenade_frag or npc_tripmine; weapon_physcannon what picked up entity)?
v_rtex is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 07-11-2007 , 16:27   Re: How to identify an entity owner
Reply With Quote #2

I suppose you can use Fakemeta:

Code:
new ownerid = pev(entid, pev_owner)
stupok 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 21:34.


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