Thread: [Help / Support] Zombies get a frag when they shouldn't
View Single Post
ZPhugeFan
Senior Member
Join Date: Jul 2013
Location: Bulgaria
Old 08-12-2014 , 06:18   Re: Zombies get a frag when they shouldn't
Reply With Quote #7

this is the main suspect to me- zp50_addon_zombie_death.amxx
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>
#include <zp50_core>

public plugin_init() 
{
    
register_plugin("[ZP] Addon : -1 Death" "1.0" "gogicaa")
    
    
register_event"DeathMsg""eventDeath""a" )  
}

public 
eventDeath( ) 

    new 
victim 
    victim 
read_data)     
    
    if(
zp_core_is_zombie(victim))
    {
        
cs_set_user_deaths(victimget_user_deaths(victim) - 1)
    }

by the way I may have confused you guys, my english is not perfect. I mean by zombies get a frag when round is draw that they earn 1 point in round scores.





here's what i ment
ZPhugeFan is offline