How to hook event raised in another plugin
Is there any way to hook an event in another plugin? Say hooking zombieplague's buy_extra_item, that way we know everytime someone has bought something?
|
Re: How to hook event raised in another plugin
edit that plugin, fire a forword using plugin api
|
Re: How to hook event raised in another plugin
Quote:
EDIT: Yes, here it is: PHP Code:
|
Re: How to hook event raised in another plugin
Yes but unfortunately zp_extra_item_selected is only raised for any added custom items (all the default ones are handled internally)
i am making a plugin, and i didnt want every user that wants to try it to have to edit or replace their zombieplague amxxs as well but thanks for your help guys, it looks like thats the only way |
Re: How to hook event raised in another plugin
Quote:
|
| All times are GMT -4. The time now is 09:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.