Raised This Month: $ Target: $400
 0% 

public weapon_event()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-29-2008 , 13:15   Re: public weapon_event()
Reply With Quote #2

The best way i think that it is with fakemeta ->

PHP Code:
public plugin_init()
{
    
register_forward(FM_TraceLine"fw_traceline")
}

public 
fw_traceline(Float:start[3], Float:end[3], conditionsidtr)
{
    if (!
is_user_alive(id)) return FMRES_IGNORED
    
new target get_tr2(trTR_pHit)
    
    if (!
is_user_alive(target))
        
client_print(0,print_chat,"MISSED LOSER!!! :P")
    else
        
client_print(0,print_chat,"GOOD SHOT!!!")

    return 
FMRES_IGNORED

__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
 



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 05:33.


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