Raised This Month: $ Target: $400
 0% 

client_death error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Tripaloski
Member
Join Date: Jul 2017
Old 08-04-2017 , 08:37   Re: client_death error
Reply With Quote #3

No logging errors.
Simply the part of the plugin client_death, client_damage,... stopped working
Exemple:
PHP Code:
public client_damage(attacker,victim,damage,weapon,hitplace,ta)
{    
    if(
hitplace == HIT_HEAD || hitplace == HIT_CHEST || hitplace == HIT_STOMACH || hitplace == HIT_LEFTARM || hitplace == HIT_RIGHTARM || hitplace == HIT_LEFTLEG || hitplace == HIT_RIGHTLEG)
        
total_dano[attacker] += damage
    
    
if(hitplace == HIT_HEAD)
        
head_hit[attacker] ++
    
    else if(
hitplace == HIT_CHEST)
        
chest_hit[attacker] ++
    
    else if(
hitplace == HIT_STOMACH)
        
stomach_hit[attacker] ++
    
    else if(
hitplace == HIT_LEFTARM)
        
leftarm_hit[attacker] ++
    
    else if(
hitplace == HIT_RIGHTARM)
        
rightarm_hit[attacker] ++
    
    else if(
hitplace == HIT_LEFTLEG)
        
leftleg_hit[attacker] ++
    
    else if(
hitplace == HIT_RIGHTLEG)
        
rightleg_hit[attacker] ++
    return 
0;

PHP Code:
public bomb_plantedplanter )
    
g_iPlantedBombsplanter ]++

public 
bomb_explodeplanterdefuser )
    
g_iBombExplosionsplanter ]++

public 
bomb_defuseddefuser )
    
g_iDefusedBombsdefuser ]++ 

Last edited by Tripaloski; 08-04-2017 at 08:38.
Tripaloski 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 22:54.


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