Raised This Month: $51 Target: $400
 12% 

Suicide Event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MacL
Member
Join Date: May 2021
Old 06-25-2021 , 14:44   Suicide Event
Reply With Quote #1

Hey there alliedmodders, look at this code:
PHP Code:
        new thing[3], attacker read_data(1), victim read_data(2);

        
read_data(4,thing,2);
        if(
thing[1] != 'k'
        {
        
// knife;
        
}  
        if(
attacker == victim)
        {
        
// Suicide;
        
}    
        if(
thing[0] == 'k')
        {
        
// normal kill;
        
}

        
//return 0; 
why i cant get the suicide event? kill or knife works fine but suicide works when i change my team.

Last edited by MacL; 06-25-2021 at 14:45.
MacL 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 14:19.


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