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

[CSGO] Weapon Owner.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-04-2015 , 08:06   [CSGO] Weapon Owner.
Reply With Quote #1

I was wondering if you can somehow on A kill to retrieve the Owner of the Killer's Gun.
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))

Last edited by ProIcons; 04-04-2015 at 08:06.
ProIcons is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 04-04-2015 , 08:14   Re: [CSGO] Weapon Owner.
Reply With Quote #2

PHP Code:
new client GetEntPropEnt(weaponProp_Data"m_hOwnerEntity"); 
Miu is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-04-2015 , 08:32   Re: [CSGO] Weapon Owner.
Reply With Quote #3

That's nice. Thank you. I was inactive for long time. Last time i was online CS:GO wasn't even introduced. Is there any List with all the Entities i can use?
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 04-04-2015 , 08:53   Re: [CSGO] Weapon Owner.
Reply With Quote #4

I don't know what you mean.
Miu is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-04-2015 , 08:56   Re: [CSGO] Weapon Owner.
Reply With Quote #5

Where can i find all the Entities. For example i didn't know that an entity with name: m_hOwnerEntity exists. Where can i find a list with all these entities
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 04-04-2015 , 09:12   Re: [CSGO] Weapon Owner.
Reply With Quote #6

That is not an entity, that is a property of an entity. "sm_dump_datamaps datamaps.txt" and "sm_dump_netprops netprops.txt" in the server console will generate files in your game directory (I guess it'd be srcds/csgo for a csgo server) containing all the properties.
Miu 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 06:22.


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