m_hActiveWeapon
Hello, friends. There is a working way to get coordinate m_hActiveWeapon? GetEntPropVector -> return 0.0 :(
|
Re: m_hActiveWeapon
Quote:
|
Re: m_hActiveWeapon
Quote:
|
Re: m_hActiveWeapon
Quote:
Code:
int weapon = GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon"); |
Re: m_hActiveWeapon
Quote:
|
Re: m_hActiveWeapon
No you can't get Active weapon like that, it uses some clientsided BoneMerging i think atleast in l4d something like that, you may have to call some function with SDKCall if some function like that exists.
|
Re: m_hActiveWeapon
maybe you find something here to get what you want:https://forums.alliedmods.net/showpo...8&postcount=19
|
Re: m_hActiveWeapon
I'm guessing you want to attach something to the weapon and that's why you want the coordinate. Otherwise the player coordinate would be good enough. If you want to attach something to the weapon, attaching to the player bone the active weapon usually is will work well enough.
|
Re: m_hActiveWeapon
Quote:
|
Re: m_hActiveWeapon
|
All times are GMT -4. The time now is 10:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.