i need public fuction help

Coding Help/Re-API Supported
Post Reply
User avatar
lizoumapper
Mapper
Mapper
Morocco
Posts: 202
Joined: 1 Year Ago
Location: Morocco
Has thanked: 20 times
Been thanked: 14 times
Age: 18
Contact:

i need public fuction help

#1

Post by lizoumapper » 11 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.
This is my blog : http://lizoumappercs.ga
GoldSource Engine :D

User avatar
lizoumapper
Mapper
Mapper
Morocco
Posts: 202
Joined: 1 Year Ago
Location: Morocco
Has thanked: 20 times
Been thanked: 14 times
Age: 18
Contact:

#2

Post by lizoumapper » 11 Months Ago

@Raheem
This is my blog : http://lizoumappercs.ga
GoldSource Engine :D

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 664
Joined: 3 Years Ago
Location: Egypt
Has thanked: 38 times
Been thanked: 52 times
Age: 20
Contact:

#3

Post by Mohamed Alaa » 11 Months Ago

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

User avatar
lizoumapper
Mapper
Mapper
Morocco
Posts: 202
Joined: 1 Year Ago
Location: Morocco
Has thanked: 20 times
Been thanked: 14 times
Age: 18
Contact:

#4

Post by lizoumapper » 11 Months Ago

Mohamed Alaa wrote:
11 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
This is my blog : http://lizoumappercs.ga
GoldSource Engine :D

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 1 Year Ago
Has thanked: 36 times
Been thanked: 5 times
Contact:

#5

Post by Muhammet20 » 11 Months Ago

just use this user_silentkill(index) in

Code: Select all

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

User avatar
lizoumapper
Mapper
Mapper
Morocco
Posts: 202
Joined: 1 Year Ago
Location: Morocco
Has thanked: 20 times
Been thanked: 14 times
Age: 18
Contact:

#6

Post by lizoumapper » 11 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 !!!
This is my blog : http://lizoumappercs.ga
GoldSource Engine :D

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 1 Year Ago
Has thanked: 36 times
Been thanked: 5 times
Contact:

#7

Post by Muhammet20 » 11 Months Ago

lizoumapper wrote:
11 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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests