Page 1 of 1

i need public fuction help

Posted: 22 Aug 2019, 21:49
by z0h1r-LK
I need public fuction kill victim or human

plz guys

Re: Plugin Nemesis Not Work [Help Me]

Posted: 22 Aug 2019, 22:00
by z0h1r-LK
@Raheem

Re: i need public fuction help

Posted: 24 Aug 2019, 14:11
by Night Fury
What?????????

Re: i need public fuction help

Posted: 24 Aug 2019, 17:50
by z0h1r-LK
Mohamed Alaa wrote: 4 years ago What?????????
i want create plugin nemesis
you know nemesis have more hp and low gravity and have long jump and he is kill not infect and
how to make nemesis kill not infect
@Jack

Re: i need public fuction help

Posted: 02 Sep 2019, 18:01
by Muhammet20
just use this user_silentkill(index) in

Code: Select all

ze_user_infected(iVictim, iInfector)
index mean: iVictim/iInfector

Re: i need public fuction help

Posted: 04 Sep 2019, 21:06
by z0h1r-LK

Code: Select all

// Kill Player
public ze_user_killer(iVictim, iInfector, iAttacker)
{
	if(iVictim == iAttacker || ze_is_user_zombie(iInfector))
	{
		return 0;
	}
	else 
	{
		user_silentkill(iInfector)
	}
}	 
Are this is Correct or No !!!

Re: i need public fuction help

Posted: 06 Sep 2019, 13:59
by Muhammet20
lizoumapper wrote: 4 years ago

Code: Select all

// Kill Player
public ze_user_killer(iVictim, iInfector, iAttacker)
{
	if(iVictim == iAttacker || ze_is_user_zombie(iInfector))
	{
		return 0;
	}
	else 
	{
		user_silentkill(iInfector)
	}
}	 
Are this is Correct or No !!!
what you mean by ze_user_killer(iVictim, iInfector, iAttacker)?

also you should make it like this:

Code: Select all

public ze_user_infected(iVictim, iInfector, iDamage)
{
	if(iInfector == iVictim || !ze_is_user_zombie(iVictim))
		return
	user_silentkill(iVictim)
}
and you will need @Raheem help