Player touch player
Hi, I have a problem and I don't know why this doesn't work. before I could make it work with the same code but now it doesn't, and I didn't change anything.
is there something wrong with the code? PHP Code:
|
Re: Player touch player
What is the problem? What could you do before and does not work now?
|
Re: Player touch player
I solved it, it was because I have many plugins with "public pfn_touch", and in some it had "plugin_handled" and this stopped everyone's fpn touch, so..
My question is, should I remove "public" from "public fpn_touch" in each of the scripts? I don't know exactly how that works |
Re: Player touch player
If you remove "public", the function won't work and the plugin will throw an error.
What you need to remove is PLUGIN_HANDLED. This blocks the touch event from triggering, so unless you want to do that, don't use PLUGIN_HANDLED, or put other plugins you want to use before that one in plugins.ini so they don't get blocked. |
| All times are GMT -4. The time now is 11:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.