Quote:
Originally Posted by HamletEagle
Use an armoury_entity, it will make things much easier for you. If you properly create it, the game will do everything for you, no need to hook touch or anything.
|
So instead of creating a weaponbox entity, to create armoury_entity and to remove the Touch forward?
Quote:
Originally Posted by HamletEagle
It returns 0 because you are not properly creating the weaponbox entity. To get cs_get_weapon_id to work you need to set m_iId offset when creating the weaponbox.
|
Can you show me how to properly create a weaponbox in my case? Or should I just look at your tutorial? Set m_iId offset to what value?
Quote:
Originally Posted by PRoSToTeM@
It is not fakemeta event, in engine you should use PLUGIN_[CONTINUE/HANDLED].
|
Oh, thanks.. I mixed register_touch with register_forward from FM.
Thanks both
__________________