View Single Post
Matians
Veteran Member
Join Date: Nov 2010
Location: ME QUIEREN ROBAR
Old 08-22-2013 , 12:12   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#2

Proba así

PHP Code:
    if (pev(victimpev_health) <= 1// Acá pongo, si la vida de la victima es menor o igual a 1. Lo infectamos. 
        
zombieme(victimattacker001
Y saca la parte del chaleco

PHP Code:
    if (get_pcvar_num(cvar_humanarmor)) 
    { 
        
// Get victim armor 
        
static Float:armor 
        pev
(victimpev_armorvaluearmor
         
        
// Block the attack if he has some 
        
if (armor 0.0
        { 
            
emit_sound(victimCHAN_BODYsound_armorhit1.0ATTN_NORM0PITCH_NORM
            
set_pev(victimpev_armorvaluefloatmax(0.0armor damage)) 
            return 
HAM_SUPERCEDE
        } 
    } 
PD: Sección equivocada, anda a Spanish.
__________________
Quote:
Originally Posted by YakumoHiratsuhi View Post
@DiegoCS
No sé talvez solo sea yo, pero tu me caes mal campeón.


JAJAJAJAJAJAJAJAJA

Quote:
Originally Posted by meTaLiCroSS View Post
Con 12 años quien no habla mierda detras de un PC, esperate a que te diga algo en persona jajajajaj VIVO DE AHI NO SALE JAJAJA

Last edited by Matians; 08-22-2013 at 12:13.
Matians is offline