i need public fuction help

Coding Help/Re-API Supported
Post Reply
User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 152
Joined: 1 Year Ago
Location: Morocco
Has thanked: 4 times
Been thanked: 7 times
Age: 17
Contact:

i need public fuction help

#1

Post by lizoumapper » 5 Months 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.
Always was optimistic :)

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 152
Joined: 1 Year Ago
Location: Morocco
Has thanked: 4 times
Been thanked: 7 times
Age: 17
Contact:

#2

Post by lizoumapper » 5 Months Ago

@Raheem
Always was optimistic :)

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 626
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 49 times
Age: 20
Contact:

#3

Post by Mohamed Alaa » 5 Months Ago

What?????????
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 152
Joined: 1 Year Ago
Location: Morocco
Has thanked: 4 times
Been thanked: 7 times
Age: 17
Contact:

#4

Post by lizoumapper » 5 Months Ago

Mohamed Alaa wrote:
5 Months 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
Always was optimistic :)

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

#5

Post by Muhammet20 » 4 Months Ago

just use this user_silentkill(index) in

Code: Select all

ze_user_infected(iVictim, iInfector)
index mean: iVictim/iInfector
[Not interested in CS/Pawn anymore]
[Learning HTML coding language]

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 152
Joined: 1 Year Ago
Location: Morocco
Has thanked: 4 times
Been thanked: 7 times
Age: 17
Contact:

#6

Post by lizoumapper » 4 Months 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 !!!
Always was optimistic :)

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

#7

Post by Muhammet20 » 4 Months Ago

lizoumapper wrote:
4 Months 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
[Not interested in CS/Pawn anymore]
[Learning HTML coding language]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest