-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Zombie + Classes - Added Human + Classes - Added Support for changes and fixes in 'ZExtract_Rounds' - Added Infection Mode - Added Buymenu
- Loading branch information
1 parent
e69811d
commit 1a0b346
Showing
18 changed files
with
2,881 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#if defined _zextract_included | ||
#endinput | ||
#endif | ||
#define _zextract_included | ||
|
||
#include <zextract_const> | ||
#include <zextract_class_const> | ||
|
||
#include <zextract_human> | ||
#include <zextract_zombie> | ||
#include <zextract_rounds> | ||
#include <zextract_buymenu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#if defined _zextract_buymenu_included | ||
#endinput | ||
#endif | ||
#define _zextract_buymenu_included | ||
|
||
#include <zextract_buymenu_const> | ||
|
||
forward ZEX_BuyAmmo_Item(id); | ||
forward ZEX_BuyAmmo(id, item); | ||
forward ZEX_BuyAmmo_Post(id, item); | ||
forward ZEX_BuyItem(id, item); | ||
forward ZEX_OpenBuymenu(id); | ||
forward ZEX_OpenCategory(id, category); | ||
|
||
native zex_register_item(const sysName[], const displayName[], cost, ammoCost, category); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#if defined _zex_buymenu_const_included | ||
#endinput | ||
#endif | ||
#define _zex_buymenu_const_included | ||
|
||
#define GetMoney(%0) get_member(%0, m_iAccount) | ||
#define SetMoney(%0,%1) set_member(%0, m_iAccount, %1) | ||
|
||
#define MAX_ITEMS_CATEGORY 60 | ||
|
||
enum ItemRegisterData | ||
{ | ||
any: IRD_SystemName, | ||
any: IRD_Name, | ||
any: IRD_Cost, | ||
any: IRD_AmmoCost, | ||
any: IRD_Category, | ||
//any: IRD_Flags | ||
} | ||
|
||
enum _:CATEGORIES | ||
{ | ||
CATEG_PISTOl, | ||
CATEG_SHOTGUN, | ||
CATEG_SUBMACHINE, | ||
CATEG_SNIPER, | ||
CATEG_ASSAULT, | ||
CATEG_MACHINES, | ||
CATEG_EQUIPMENT, | ||
CATEG_KNIFE | ||
} | ||
|
||
enum Sort | ||
{ | ||
Sort_Name, | ||
Sort_Cost | ||
} | ||
|
||
enum SortDir | ||
{ | ||
SRDir_Ascendent, | ||
SRDir_Descendent | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* Sublime AMXX Editor v3.0.0-beta */ | ||
|
||
#if defined _zextract_class_const_included | ||
#endinput | ||
#endif | ||
#define _zextract_class_const_included | ||
|
||
enum MenuAvailable | ||
{ | ||
MenuAvail_No, // Not available for use, intern use | ||
MenuAvail_Flag, // Use resticting the players which don't have the required flags | ||
MenuAvail_All, // For Everyone | ||
} | ||
|
||
enum Sex | ||
{ | ||
Sex_Male, | ||
Sex_Female | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
/* Sublime AMXX Editor v3.0.0-beta */ | ||
|
||
#if defined _zextract_const_included | ||
#endinput | ||
#endif | ||
#define _zextract_const_included | ||
|
||
/* ~(Restart)~ */ | ||
enum RsType | ||
{ | ||
Rs_Not, | ||
Rs_Round, | ||
Rs_All | ||
} | ||
#define ZEXRet_Handled 80 | ||
#define ZEXRet_Supercede 81 | ||
#define ZEXRet_Continue 79 | ||
|
||
enum WinType | ||
{ | ||
WIN_NONE = -1, | ||
WIN_RESTART, | ||
WIN_DRAW, | ||
WIN_HUMAN, | ||
WIN_ZOMBIE | ||
} | ||
#define is_bit(%1,%0) (%1 & (1<<%0)) | ||
#define set_bit(%1,%0) %1 |= (1<<%0) | ||
#define remove_bit(%1,%0) %1 &= ~(1<<%0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#if defined _zextract_human_included | ||
#endinput | ||
#endif | ||
#define _zextract_human_included | ||
|
||
#include <zextract_human_const> | ||
|
||
forward ZEX_ToHuman(id) | ||
forward ZEX_ToHuman_Post(id) | ||
|
||
native zex_register_human(const Name[], const model[], Hp, Gravity, Speed, Sex: Gender, Jump, Flags, MenuAvailable:Menu_Available) | ||
native bool: zex_is_human(id) | ||
native zex_set_human(id, bool: human = true, bool: applyAttributes = true, bool: ignoreFlag = false) | ||
native zex_get_human_class(id) | ||
native zex_set_human_class(id, humanClass, bool: ignoreFlag) | ||
native zex_get_next_human_class(id) | ||
native zex_set_next_human_class(id, humanClass) | ||
native zex_get_human_class_count() | ||
native zex_get_human_class_info(humanClass, any:...) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#if defined _zerhuman_included | ||
#endinput | ||
#endif | ||
#define _zerhuman_included | ||
|
||
#define HumanSaveFile "ZExtractHumans.ini" | ||
|
||
enum HumanRegisterData | ||
{ | ||
any: HRD_SystemName, | ||
any: HRD_Name, | ||
any: HRD_Model, | ||
any: HRD_Health, | ||
any: HRD_Gravity, | ||
any: HRD_Speed, | ||
any: HRD_JumpVelocity, | ||
any: HRD_Gender, | ||
any: HRD_Flags, | ||
any: HRD_MenuAvailable | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Sublime AMXX Editor v3.0.0-beta */ | ||
|
||
#if defined _zextract_round_included | ||
#endinput | ||
#endif | ||
#define _zextract_rounds_included | ||
|
||
#include <zextract_rounds_const> | ||
|
||
forward ZEX_RoundEnd(Float:flDelay, WinType: reWin, RsType: rsRestart, const EndMessage[], const Sound[]) | ||
forward ZEX_RoundEnd_Pre(Float:flDelay, WinType: reWin, RsType: rsRestart, const EndMessage[], const Sound[]) | ||
forward ZEX_RoundStart() | ||
forward ZEX_RoundStart2() | ||
forward ZEX_RoundStart2_Post() | ||
forward ZEX_WaitForPlayersEnd() | ||
|
||
native zex_end_round(Float:flDelay, WinType: reWin, RsType: rsRestart, const EndMessage[], const EndSound[], bool: Trigger) | ||
native bool: zex_round_ended() | ||
native bool: zex_round_started() | ||
native bool: zex_waiting_for_players() | ||
native bool: zex_is_change_map() | ||
native zex_can_change_map(bool: change) | ||
native zex_set_round_end_info(RoundEndInfo: reiInfo, any:...) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* Sublime AMXX Editor v3.0.0-beta */ | ||
|
||
#if defined _zextract_rounds_const_included | ||
#endinput | ||
#endif | ||
#define _zextract_rounds_const_included | ||
|
||
/* ~(Restart)~ */ | ||
enum RsType { | ||
Rs_Not, | ||
Rs_Round, | ||
Rs_All | ||
} | ||
|
||
enum WinType { | ||
WIN_NONE = -1, | ||
WIN_RESTART, | ||
WIN_DRAW, | ||
WIN_HUMAN, | ||
WIN_ZOMBIE | ||
} | ||
|
||
enum RoundEndInfo { | ||
REI_Delay, | ||
REI_Win, | ||
REI_Restart, | ||
REI_Message, | ||
REI_Sound | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#if defined _zextract_zombie_included | ||
#endinput | ||
#endif | ||
#define _zextract_zombie_included | ||
|
||
#include <zextract_zombie_const> | ||
|
||
forward ZEX_ToZombie(id, attacker); | ||
forward ZEX_ToZombie_Post(id, attacker); | ||
|
||
native zex_register_zombie(const Name[], const Model[], const ClawModel[], Hp, Gravity, Speed, Knockback, Sex: Gender, Jump, Flags, MenuAvailable:Menu_Available, const Dead_Sound1[], const Dead_Sound2[], const Hit_Sound1[], const Hit_Sound2[]); | ||
native bool: zex_is_zombie(id); | ||
native zex_set_zombie(id, bool: zombie = true, attacker = -1, bool: applyAttributes = true, bool: ignoreFlag = false); | ||
native zex_get_zombie_class(id); | ||
native zex_set_zombie_class(id, zombieClass, bool: ignoreFlag); | ||
native zex_get_next_zombie_class(id); | ||
native zex_set_next_zombie_class(id, zombieClass); | ||
native zex_get_zombie_class_count(); | ||
native zex_get_zombie_class_info(zombieClass, any:...); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#if defined _zerzombie_included | ||
#endinput | ||
#endif | ||
#define _zerzombie_included | ||
|
||
#define ZombieSaveFile "ZExtractZombies.ini" | ||
|
||
enum ZombieRegisterData | ||
{ | ||
any: ZRD_SystemName, | ||
any: ZRD_Name, | ||
any: ZRD_Model, | ||
any: ZRD_ClawModel, | ||
any: ZRD_Health, | ||
any: ZRD_Gravity, | ||
any: ZRD_Speed, | ||
any: ZRD_Knockback, | ||
any: ZRD_JumpVelocity, | ||
any: ZRD_Gender, | ||
any: ZRD_DeadSound[2], | ||
any: ZRD_HitSound[2], | ||
any: ZRD_Flags, | ||
any: ZRD_MenuAvailable | ||
} |
Oops, something went wrong.