Information about destroy objects on maps
I have a question and problem.
How can I make message, when someone destroy any object on map. For example, on zm_ maps is footbridge and it have id 67 and what i must write in plugin to cause message when someone destroy it? |
Re: Information about destroy objects on maps
Hook Ham_Killed for the classname of this "footbridge".
Code:
|
Re: Information about destroy objects on maps
Hmm good idea ;)
But how can I get classname when i have only ID this item? |
Re: Information about destroy objects on maps
You shouldn't really use ID's, since they vary by server, but if it's just going to your server, use this.
Code:
Type /cname in all chat to get the classname of the item. Replace ITEM_ID's value of 9999 with the item ID. |
Re: Information about destroy objects on maps
Nice ;)
Very thanks for you :) |
Re: Information about destroy objects on maps
;(
This don't work. I write it: PHP Code:
|
Re: Information about destroy objects on maps
i'm interested at this to, i've spend 3 houres figuring this out, but the function isn't called no matter what i do.
I'm curious what the asnwer will be |
Re: Information about destroy objects on maps
I found it:
PHP Code:
Any Ideas? |
| All times are GMT -4. The time now is 03:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.