[ZE] Nemesis Round [Fixed]

Useless Stuffs, Spam ... etc
User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#51

Post by Raheem » 4 years ago

Then till now we can say it's not working? Alright?
He who fails to plan is planning to fail

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#52

Post by Muhammet20 » 4 years ago

Raheem wrote: 4 years ago Then till now we can say it's not working? Alright?
no no it's working but idk why he see errors
it's working with me and with lizou and success
idk his problem

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#53

Post by z0h1r-LK » 4 years ago

Not work bro that there problem in plugins , at round nemesis show HUD "Round Nemesis" and player choosed nemesis is killed
you understand me ok

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#54

Post by z0h1r-LK » 4 years ago

you can fix problem kill in choosed player nemesis ...
please try fix problem
model nemesis not work
you use native cs_set_player_model that this is work very good
and fix problem sound is "zombie/ze_nemesis.wav" add .wav
longjump is working :)
Good Luck !!!

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#55

Post by Muhammet20 » 4 years ago

okay bro

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#56

Post by Muhammet20 » 4 years ago

@Raheem, what you think about the plugin
do you see any falses or what?

Templaso
Senior Member
Senior Member
Romania
Posts: 119
Joined: 5 years ago
Location: Bucharest
Contact:

#57

Post by Templaso » 4 years ago

C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(28) : error 017: undefined symbol "HIT_GENERIC"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(28) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(29) : error 017: undefined symbol "HIT_HEAD"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(29) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(30) : error 017: undefined symbol "HIT_CHEST"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(30) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(31) : error 017: undefined symbol "HIT_STOMACH"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(31) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(32) : error 017: undefined symbol "HIT_LEFTARM"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(32) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(33) : error 017: undefined symbol "HIT_RIGHTARM"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(33) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(34) : error 017: undefined symbol "HIT_LEFTLEG"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(34) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(35) : error 017: undefined symbol "HIT_RIGHTLEG"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(35) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(141) : error 017: undefined symbol "kRenderFxNone"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(161) : error 017: undefined symbol "kRenderFxNone"

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#58

Post by Muhammet20 » 4 years ago

Mystic Viper wrote: 4 years ago C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(28) : error 017: undefined symbol "HIT_GENERIC"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(28) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(29) : error 017: undefined symbol "HIT_HEAD"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(29) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(30) : error 017: undefined symbol "HIT_CHEST"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(30) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(31) : error 017: undefined symbol "HIT_STOMACH"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(31) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(32) : error 017: undefined symbol "HIT_LEFTARM"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(32) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(33) : error 017: undefined symbol "HIT_RIGHTARM"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(33) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(34) : error 017: undefined symbol "HIT_LEFTLEG"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(34) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(35) : error 017: undefined symbol "HIT_RIGHTLEG"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(35) : error 008: must be a constant expression; assumed zero
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(141) : error 017: undefined symbol "kRenderFxNone"
// C:\Users\Laur\Desktop\ZE Compiler\include\fun.inc(161) : error 017: undefined symbol "kRenderFxNone"
sorry, check the post again or copy it directly from here:

Code: Select all

#include <zombie_escape>

new g_nemesis_round, g_cvar_nemesis_chance, g_cvar_nemesis_gravity, g_cvar_nemesis_health, g_cvar_nemesis_speed, g_cvar_nemesis_glow, g_cvar_nemesis_leap
new g_MaxPlayers

native give_longjump(id)

native set_user_gravity(index, Float:gravity = 1.0)
native set_user_health(index, health)
public plugin_init()
{
	register_plugin("[ZE] Nemsis round", "1.0", "Kaya Gaming")	
	
	register_event("HLTV", "event_newround", "a", "1=0", "2=0")
	
	g_cvar_nemesis_chance = register_cvar("ze_nemesis_chance","20")
	g_cvar_nemesis_gravity = register_cvar("ze_nemesis_gravity","650")
	g_cvar_nemesis_health = register_cvar("ze_nemesis_health","30000")
	g_cvar_nemesis_speed = register_cvar("ze_nemesis_speed","330")
	g_cvar_nemesis_glow = register_cvar("ze_nemesis_glow","1")
	g_cvar_nemesis_leap = register_cvar("ze_nemesis_leap","1")
	
	g_MaxPlayers = get_maxplayers();
}
public plugin_natives()
{
	register_native("ze_is_nemesis_round","native_nemesis_round",1)
}
public native_nemesis_round(id)
{
	return g_nemesis_round
}
public ze_user_infected_pre(iVictim, iInfector, iDamage)
{
	if(g_nemesis_round)
	{
		user_silentkill(iVictim)
	}
}
public event_newround(id)
{
	if(random_num(1, get_pcvar_num(g_cvar_nemesis_chance)) == 1)
	{
		g_nemesis_round = true
	}
}
public ze_zombie_appear()
{
	if(g_nemesis_round)
	{
		for(new id = 0; id < g_MaxPlayers; id++)
		{
			client_cmd(id,"spk zombie_escape/Nemesis_scream.wav")
			set_hudmessage(255, 0, 0, -1.0, 0.30, 0, 6.0, 6.0)
			show_hudmessage(id, "=== Nemesis Round ===")
			if(ze_is_user_zombie(id))
			{
				nemesis_features(id)
			}
		}
	}
}
public nemesis_features(id)
{
	// User Zombie ? Nemesis Round ?
	if(!ze_is_user_zombie(id) && !g_nemesis_round)
		return
	
	// Nemesis Glow
	if(get_pcvar_num(g_cvar_nemesis_glow) == 1)
		Set_Rendering(id, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 25)
		
	// Nemesis Leap Jump
	if(get_pcvar_num(g_cvar_nemesis_leap) == 1)
		give_longjump(id)
		
	// Nemesis Gravity
	set_user_gravity(id,get_pcvar_float(g_cvar_nemesis_gravity))
	
	// Nemesis Health
	set_user_health(id,get_pcvar_num(g_cvar_nemesis_health))
	
	// Nemesis Speed
	fm_set_user_speed(id,get_pcvar_float(g_cvar_nemesis_speed))
}
public ze_roundend(id)
{
	Set_Rendering(id, kRenderFxNone, 255, 255, 255, kRenderNormal, 16)
	g_nemesis_round = false
}
stock fm_set_user_speed(id, Float:Speed)
{
	set_pev(id, pev_maxspeed, Speed)
}

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#59

Post by Muhammet20 » 4 years ago

@Raheem can you approve please?

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#60

Post by Muhammet20 » 4 years ago

@Raheem please Answer me Raheeeeeeeem

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#61

Post by Raheem » 4 years ago

Still till now bro can't know if it's working or not, many have problems with it and you said it works so it's working now?
He who fails to plan is planning to fail

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#62

Post by Muhammet20 » 4 years ago

Raheem wrote: 4 years ago Still till now bro can't know if it's working or not, many have problems with it and you said it works so it's working now?
not sure but please can you check the code you are very good with scripting/coding i need ur help if there any false

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#63

Post by Raheem » 4 years ago

Alright but lazy to do, so i ask you if it works or not so i put the approved tag.
He who fails to plan is planning to fail

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#64

Post by Muhammet20 » 4 years ago

Raheem wrote: 4 years ago Alright but lazy to do, so i ask you if it works or not so i put the approved tag.
in the fact
it's compiling without errors/warnings
but in game i want the nemesis kill no infect
but when i add this code kill no infect when the player infected by the server he killed instantly
just if you can fix this problem i hope this

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#65

Post by Raheem » 4 years ago

You are using wrong way for it, seems it's not working so if not fixed then will be trashed.
He who fails to plan is planning to fail

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#66

Post by Muhammet20 » 4 years ago

Raheem wrote: 4 years ago You are using wrong way for it, seems it's not working so if not fixed then will be trashed.
idk but i'll try to fix it

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#67

Post by z0h1r-LK » 4 years ago

Bro plugin nemesis and test your
not work in my server :(

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#68

Post by Muhammet20 » 4 years ago

lizoumapper wrote: 4 years ago Bro plugin nemesis and test your
not work in my server :(
Pfffff.....
Try again,
it should work now,
In Sha Allah.

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#69

Post by z0h1r-LK » 4 years ago

i play 28 round i don't look any nemesis -_-

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#70

Post by Raheem » 4 years ago

Failed, Trashed.
He who fails to plan is planning to fail

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 1 guest