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

[AYUDA]Zp 4.3 Cambiar infeccion


  
 
 
Thread Tools Display Modes
Author Message
ErDuque
BANNED
Join Date: Jul 2013
Location: culiacan sinaloa
Old 08-22-2013 , 12:05   [AYUDA]Zp 4.3 Cambiar infeccion
#1

seria posisble k alguien me dijiera como cambiar la infeccion por hp yo creo k es esta parte
PHP Code:
// Does human armor need to be reduced before infecting?
    
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;
        }
    }
    
    
// Infection allowed
    
zombieme(victimattacker001// turn into zombie
    
return HAM_SUPERCEDE;

ErDuque is offline
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
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 08-22-2013 , 12:12   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#3

Spanish > Guías/Tutoriales
__________________
Destro- is offline
Roccoxx
AlliedModders Donor
Join Date: Jan 2012
Location: Argentina
Old 08-22-2013 , 13:06   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#4

copiando el zombie mm de yakumo no?
__________________
Tutorials here (Spanish)

Like as another Pijudo said: "Tired and retired"
Roccoxx is offline
Send a message via MSN to Roccoxx
Winchester90
Senior Member
Join Date: May 2013
Location: Dale! RG4L Baby
Old 08-22-2013 , 13:43   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#5

Quote:
Originally Posted by Roccoxx View Post
copiando el zombie mm de yakumo no?
Off:No te flipes(lo digo de buenas) en la vida ara el zp de yakumo yo juego aveces soi lvl 10.
__________________
Proyectos No comercio XD
Zombie Resurection 1.0 (45%)

Last edited by Winchester90; 08-22-2013 at 13:43.
Winchester90 is offline
ErDuque
BANNED
Join Date: Jul 2013
Location: culiacan sinaloa
Old 08-22-2013 , 14:12   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#6

Xd No espor copiar a i perdonen la seccion esk no me fije
matians lo ise como dijistes pero ahora se hiso inmortal el humano no se puede infectar
ErDuque is offline
MexPower
Veteran Member
Join Date: Nov 2012
Old 08-22-2013 , 15:06   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#7

Quote:
Originally Posted by Roccoxx View Post
copiando el zombie mm de yakumo no?
Nose porque no me sorprende.
__________________
Allied Modders En Español
MexPower is offline
Matians
Veteran Member
Join Date: Nov 2010
Location: ME QUIEREN ROBAR
Old 08-22-2013 , 16:09   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#8

Eso es porque el zombie estas seguro de que le hace daño al humano? Le pusiste daño?
__________________
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
Matians is offline
MegaNecro
Junior Member
Join Date: Jul 2013
Old 08-22-2013 , 17:50   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#9

PHP Code:
// Does human armor need to be reduced before infecting? 
    
if (get_pcvar_num(cvar_humanarmor)) 
    { 
        
// Get victim armor //se borra todo esto?
        
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
        } 
    } 
Matians responde,donde va lo otro,soy noob D:
PHP Code:
 if (pev(victimpev_health) <= 1// Esto
        
zombieme(victimattacker001
-----------------------------------------
Se puede hacer lo mismo en zp 4.2?
__________________

Last edited by MegaNecro; 08-22-2013 at 18:16.
MegaNecro is offline
Matians
Veteran Member
Join Date: Nov 2010
Location: ME QUIEREN ROBAR
Old 08-22-2013 , 18:17   Re: [AYUDA]Zp 4.3 Cambiar infeccion
#10

Si se puede hacer eso que vos queres, mira dejame el takedamage de la 4.2 y veo si tengo tiempo te lo hago.

Y lo que hay que borrar es todo el if (get_pcvar_num(cvar_humanarmor)) todo lo que esta dentro, desde el { hasta el }, pero yo dejaria eso, para hacer así.

Primero bajame todo el chaleco, y después la vida y recién ahí me infectas. Quedaría lindo, pero es de cada uno ya eso.
__________________
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
Matians 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 10:53.


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