Raised This Month: $ Target: $400
 0% 

event when terro dies


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 12-29-2009 , 20:36   Re: event when terro dies
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

public plugin_init() {
    
register_plugin("pepito""1.0""Mxnn")
    
    
register_event("DeathMsg""Event_DeathMsg""a")
}

Event_DeathMsg() {
    
    new 
victim read_data(2)
    if (
cs_get_user_team(victim) == CS_TEAM_T) {
        new 
attacker read_data(1
    }


Last edited by Mxnn; 12-29-2009 at 21:22.
Mxnn 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 04:12.


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