Check if monsters dead on Sven co-op?
I'm making a RP plugin, and I want when the monster dies it shares gold for players. (Already done that code) I need to know how to trigger the function to check and share gold when monster dies, anybody knows? :?
|
Nobody knows?... :( At least anybody knows to run a AMXX function when an entity is triggered?
|
you could try using register_think on monsters and checking their EV_INT_deadflag. though, there would be a lot of monster classnames to register.
|
I already tryed register_think, result: Monster freezed... :cry:
|
Maybe you used return PLUGIN_HANDLED instead of RETURN PLUGIN_CONTINUE
Thats why they got freezed? |
This is very strange, I used again the register_think and it worked, just need to fix some little things... Thanks for the help btw..
|
| All times are GMT -4. The time now is 20:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.