i need public fuction help

Coding Help/Re-API Supported
Post Reply
User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 150
Joined: 8 Months Ago
Location: Morocco
Has thanked: 3 times
Been thanked: 7 times
Age: 17
Contact:

i need public fuction help

#1

Post by lizoumapper » 4 Weeks Ago

I need public fuction kill victim or human

plz guys
Last edited by lizoumapper on 23 Aug 2019, 17:19, edited 2 times in total.
I Love Learn Languages Programmations

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 150
Joined: 8 Months Ago
Location: Morocco
Has thanked: 3 times
Been thanked: 7 times
Age: 17
Contact:

#2

Post by lizoumapper » 4 Weeks Ago

@Raheem
I Love Learn Languages Programmations

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 609
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#3

Post by Mohamed Alaa » 3 Weeks Ago

What?????????
Want your own mod edition? PM me.
Accepting web projects.

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 150
Joined: 8 Months Ago
Location: Morocco
Has thanked: 3 times
Been thanked: 7 times
Age: 17
Contact:

#4

Post by lizoumapper » 3 Weeks Ago

Mohamed Alaa wrote:
3 Weeks 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
I Love Learn Languages Programmations

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 391
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#5

Post by Muhammet20 » 2 Weeks Ago

just use this user_silentkill(index) in

Code: Select all

ze_user_infected(iVictim, iInfector)
index mean: iVictim/iInfector
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 150
Joined: 8 Months Ago
Location: Morocco
Has thanked: 3 times
Been thanked: 7 times
Age: 17
Contact:

#6

Post by lizoumapper » 2 Weeks 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 !!!
I Love Learn Languages Programmations

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 391
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#7

Post by Muhammet20 » 1 Week Ago

lizoumapper wrote:
2 Weeks 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
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest