View Single Post
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 04-12-2012 , 16:42   Re: [ZP] Crear niveles por Experiencia [SIN BUGS]
#9

PHP Code:
if(!g_zombie[attacker] && g_zombie[victim]) // Si el humano es el atacante ganara 10 frags  

    
zp_colored_print(attacker"^x04[ZP]^x01 Ganaste^x04 10^x01 de^x04 Exp^x01 por:^x04 Matar Zombie^x01.")
    
// Si todo se cumple, le aumento 10 puntos de experiencia al atacante
    
check_level(attacker10)
}
    
if(
g_zombie[attacker] && !g_zombie[victim]) // Si el zombie es el atacante ganara 8 frags
{
    
zp_colored_print(attacker"^x04[ZP]^x01 Ganaste^x04 8^x01 de^x04 Exp^x01 por:^x04 Matar Humano^x01.")
    
// Si todo se cumple, le aumento 8 puntos de experiencia al atacante
    
check_level(attacker8)

__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]

Last edited by Sidix; 04-12-2012 at 16:44.
Sidix is offline