Hi all,

I use script/picture/sound by ER for test and he don't work in game :/ help me pls ^^

PHP Code:
if(sMeansOfDeath == "MOD_HEAD_SHOT")
                {
                    
attacker.premier_exp+=10;
                    
attacker.head+=1;
                    
attacker.plusscore+=20;
                    
attacker.scoretoshow=20;
                    
self thread cod4\check::checkHead();        
                } 
PHP Code:
checkHead()
{
        
thread precache();
    
    if(
isDefined(self.hud_head))self.hud_head destroy();
    
self.hud_head newClientHudElem(self);
    
self.hud_head.280;
    
self.hud_head.390;
    
self.hud_head.alpha 0.50;

    
        
self PlayLocalSound("headshot");
        
self.hud_head setShader("x2_headshot"100100);
        
    
    
}

precache()
{    

precacheShader("x2_headshot");