Execute Ham_Item_Deploy
Hi guys,
I have added two knives on my server and I would like to execute the deploy animation if a player changed from a knife to a knife. I know that I must execute this feature with the function ExecuteHam(Ham_Item_Deploy, iEntity) from Hamsandwich but I didn't know how to get the number of the Entity. Is there an offset for get_pdata or get_cbase??? Many many thanks in advance. Leon |
Re: Execute Ham_Item_Deploy
It's the weapon index. You can use the m_pActiveItem offset. (373)
|
Re: Execute Ham_Item_Deploy
Quote:
Thx for open my eyes :D |
| All times are GMT -4. The time now is 07:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.