Approved Zombie classes

Plug-ins compatibility with Zombie Escape 1.x only!


User avatar
DarkZombie
Member
Member
Hungary
Posts: 76
Joined: 5 years ago
Contact:

#31

Post by DarkZombie » 5 years ago

Jack?

User avatar
DarkZombie
Member
Member
Hungary
Posts: 76
Joined: 5 years ago
Contact:

#32

Post by DarkZombie » 5 years ago

At least Raheem always helped me when he was here :!:

User avatar
DarkZombie
Member
Member
Hungary
Posts: 76
Joined: 5 years ago
Contact:

#33

Post by DarkZombie » 5 years ago

So Jack has no idea? I saw that you were here in the forum.
USER STATISTICS
Joined:1 Year AgoLast active:7 Hours Ago :D

User avatar
ZinoZack47
Member
Member
Morocco
Posts: 9
Joined: 5 years ago
Contact:

#34

Post by ZinoZack47 » 5 years ago

Just try this code (didn't compile it)

Code: Select all

#include <zombie_escape>
#include <ze_zombie_class>

native ze_open_knife_menu(id)

// Keys
const OFFSET_CSMENUCODE = 205
const KEYSMENU = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9|MENU_KEY_0

public plugin_init()
{
	register_plugin("[ZE] Main Menu", ZE_VERSION, AUTHORS)
	
	// Commands
	register_clcmd("chooseteam", "Cmd_ChooseTeam")
	register_clcmd("say /ze", "Cmd_ChooseTeam")
	register_clcmd("say_team /ze", "Cmd_ChooseTeam")
	
	// Register Menus
	register_menu("Main Menu", KEYSMENU, "Main_Menu")
}

public Cmd_ChooseTeam(id)
{
	if (!is_user_connected(id))
		return PLUGIN_CONTINUE;
	
	if (get_member(id, m_iTeam) == TEAM_TERRORIST || get_member(id, m_iTeam) == TEAM_CT)
	{
		Show_Menu_Main(id)
		return PLUGIN_HANDLED // Kill the Choose Team Command
	}
	
	// Player in Spec? Allow him to open choose team menu so he can join
	return PLUGIN_CONTINUE
}

// Main Menu
public Show_Menu_Main(id)
{
	static szMenu[250]
	new iLen
    
	// Title
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w%L^n^n", id, "MAIN_MENU_TITLE")
	
	// 1. Buy Weapons
	if (!ze_is_auto_buy_enabled(id)) // AutoBuy not enabled - normal case
	{
		if (is_user_alive(id))
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY")
		}
		else
		{
			iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d1. %L^n", id, "MENU_WEAPONBUY")
		}
	}
	else
	{
		// Auto-Buy enabled - Re-enable case
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w1.\r %L^n", id, "MENU_WEAPONBUY_RE_ENABLE")
	}
	
	// 2. Extra Items
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w2.\r %L^n", id, "MENU_EXTRABUY")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d2. %L^n", id, "MENU_EXTRABUY")
	}
	
	// 3. Knife menu
	if (is_user_alive(id))
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w3.\r Knife menu^n")
	}
	else
	{
		iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\d3. Knife menu^n")
	}
	// 4. Zombie Classes Menu
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "\w4.\r Zombie Classes menu^n")

	// 0. Exit
	iLen += formatex(szMenu[iLen], charsmax(szMenu) - iLen, "^n^n\w0.\r EXIT")
    
	// Fix for AMXX custom menus
	set_pdata_int(id, OFFSET_CSMENUCODE, 0)
	show_menu(id, KEYSMENU, szMenu, -1, "Main Menu")
}

// Main Menu
public Main_Menu(id, key)
{
	// Player disconnected?
	if (!is_user_connected(id))
		return PLUGIN_HANDLED
    
	switch (key)
	{
		case 0: // Buy Weapons
		{
			if (!ze_is_auto_buy_enabled(id))
			{
				ze_show_weapon_menu(id)
			}
			else
			{
				ze_disable_auto_buy(id)
				Show_Menu_Main(id)
			}
		}
		case 1: // Extra Items
		{
			if (is_user_alive(id))
			{
				ze_show_items_menu(id)
			}
			else
			{
				ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
			}
		}
		case 2: // Knife menu
		{
			if (is_user_alive(id))
			{
				ze_open_knife_menu(id)
			}
			else
			{
				ze_colored_print(id, "%L", id, "DEAD_CANT_BUY_WEAPON")
			}
		}
		case 3: ze_open_zombie_classes_menu(id) // Zombie Classes Menu
	}
	return PLUGIN_HANDLED
}

User avatar
DarkZombie
Member
Member
Hungary
Posts: 76
Joined: 5 years ago
Contact:

#35

Post by DarkZombie » 5 years ago

Dont working.
Attachments
errros.png
errros.png (9.89 KiB) Viewed 17474 times
errros.png
errros.png (9.89 KiB) Viewed 17474 times

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#36

Post by Night Fury » 5 years ago

DarkZombie wrote: 5 years ago Dont working.
Go to the first post & make a file called ze_zombie_class.inc then put it in addons/amxmodx/scripting/include.
I have exams so i won't leave my study to help you, nah you can help yourself.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
DarkZombie
Member
Member
Hungary
Posts: 76
Joined: 5 years ago
Contact:

#37

Post by DarkZombie » 5 years ago

Thanks for your help, I'm sorry. :) :roll:
PS:And good luck with your exams :!:

User avatar
ZinoZack47
Member
Member
Morocco
Posts: 9
Joined: 5 years ago
Contact:

#38

Post by ZinoZack47 » 5 years ago

You must have the ze_zombie_class.inc in your compiler's include folder otherwise it won't compile

User avatar
Luxurious
Mod Tester
Mod Tester
Egypt
Posts: 177
Joined: 6 years ago
Location: Egypt
Contact:

#39

Post by Luxurious » 5 years ago

Why the models of Zms Not Working ?
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015

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

#40

Post by z0h1r-LK » 4 years ago

you add level zombie class woth level

DeVil_Raghav
Member
Member
India
Posts: 25
Joined: 3 years ago
Contact:

#41

Post by DeVil_Raghav » 3 years ago

Hey Escapers :), I am facing the same problem I didn't find any zombie classes.ini( or class etc...) in config file. Please suggest me what to do .

Thank you :) :D

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#42

Post by Night Fury » 3 years ago

In order for it to work, You have to add at least one zombie class regardless of the default class.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

Kerason
Member
Member
Romania
Posts: 3
Joined: 3 years ago
Contact:

#43

Post by Kerason » 3 years ago

Hi, I want to add zombie classes and when I compile it gives me an error! Can someone help me?
PROBLEM: g_iZombieClass[id] = ZE_WRONG_ZOMBIE_CLASS on compile ;)

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#44

Post by Night Fury » 3 years ago

Kerason wrote: 3 years ago Hi, I want to add zombie classes and when I compile it gives me an error! Can someone help me?
PROBLEM: g_iZombieClass[id] = ZE_WRONG_ZOMBIE_CLASS on compile ;)
Could you give the full error?
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

Kerason
Member
Member
Romania
Posts: 3
Joined: 3 years ago
Contact:

#45

Post by Kerason » 3 years ago

Yes Now !
AMX Mod X Compiler 1.9.0.5249
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(5) : error 021: symbol already defined: "ze_colored_print"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(84) : error 021: symbol already defined: "GetAlivePlayersNum"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(99) : error 021: symbol already defined: "GetTeamPlayersNum"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(114) : error 021: symbol already defined: "GetDeadPlayersNum"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(129) : error 021: symbol already defined: "GetAllAlivePlayersNum"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(141) : error 021: symbol already defined: "GetAllPlayersNum"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(153) : error 021: symbol already defined: "RequiredZombies"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(166) : error 021: symbol already defined: "GetRandomAlive"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(182) : error 021: symbol already defined: "Set_MapLightStyle"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(191) : error 021: symbol already defined: "Set_NightVision"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(205) : error 021: symbol already defined: "Set_Knockback"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(233) : error 021: symbol already defined: "UpdateFrags"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(263) : error 021: symbol already defined: "SendDeathMsg"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(274) : error 021: symbol already defined: "InfectionIcon"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(287) : error 021: symbol already defined: "FixDeadAttrib"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(296) : error 021: symbol already defined: "Set_KeyValue"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(307) : error 021: symbol already defined: "Precache_Sky"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(337) : error 021: symbol already defined: "AddCommas"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(368) : error 021: symbol already defined: "PlaySound"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(381) : error 021: symbol already defined: "StopSound"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(392) : error 021: symbol already defined: "Set_Rendering"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(406) : error 021: symbol already defined: "VecMulScalar"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(414) : error 021: symbol already defined: "Show_Given_BPAmmo"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(426) : error 021: symbol already defined: "SQL_IsFail"
C:\Users\ValiPC\Desktop\ZOmbie escape compiler\include\ze_zombie_class_const.inc(448) : error 021: symbol already defined: "IsPlayerInArray"
Error: Undefined symbol "ZE_WRONG_ZOMBIE_CLASS" on line 82

Compilation aborted.
26 Errors.
Could not locate output file C:\Users\ValiPC\Desktop\ze_zombie_class.amx (compile failed).

Kerason
Member
Member
Romania
Posts: 3
Joined: 3 years ago
Contact:

#46

Post by Kerason » 3 years ago

help please with Ml_NotFOund
https://imgur.com/a/JhtuYeR

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

#47

Post by z0h1r-LK » 3 years ago

Make zombie classes support models and claw
just remove model from ze_resource.sma and make it in ze classes

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: Bing [Bot] and 0 guests