Raised This Month: $ Target: $400
 0% 

Information about destroy objects on maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yetj
Junior Member
Join Date: Dec 2008
Location: Poland
Old 05-04-2010 , 18:41   Re: Information about destroy objects on maps
Reply With Quote #1

;(
This don't work.

I write it:

PHP Code:
#include <amxmodx>
#include <hamsandwich>

public plugin_init()
{
    
register_plugin("name""1.0""author");
    
    
RegisterHam(Ham_Killed"func_breakable""Ham_destroy");
    
}

public 
Ham_destroy(itemdestroyershouldgib)
{
    new 
destroyerName[32];
    
get_user_name(destroyerdestroyerNamesizeof(destroyerName)-1);
    
    
client_print(0print_chat"*** %s destroy item ID: %d",destroyerNameitem);

and it never print any message when I destroy footbridge or window or etc.
yetj is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode