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(attacker, 10)
}
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(attacker, 8)
}
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]