Raised This Month: $32 Target: $400
 8% 

client_death error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tripaloski
Member
Join Date: Jul 2017
Old 08-03-2017 , 22:53   client_death error
Reply With Quote #1

Hello people.
In all the plugins I use the client_death, client_damage, bomb_planted, bomb_explode, bomb_defused,... they stopped working.

What will be the problem?
Tripaloski is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-04-2017 , 06:57   Re: client_death error
Reply With Quote #2

Post the error logs maybe?
__________________
edon1337 is offline
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
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-04-2017 , 19:15   Re: client_death error
Reply With Quote #4

You need
PHP Code:
#include < csx > 
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 08-04-2017 at 19:16.
wickedd 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 07:09.


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