Updated Zombie_Escape Include with nvault

Helping Topics
Post Reply
User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 1 Year Ago
Location: INDIA
Has thanked: 5 times
Been thanked: 2 times
Age: 20
Contact:

Updated Zombie_Escape Include with nvault

#1

Post by sam_bhosale4 » 1 Year Ago

Hello guys,
Following is the latest updated zombie_escape.inc with nvault.inc
Please update it with your currunt zombie_escape.inc because the temporary coin fix is out by raheem and the temp fix is on nvault and will be needing nvault inc for compilation so kindly update it!
Added nvault support in zombie_escape.inc

Code: Select all

#include <amxmodx>
#include <fakemeta>
#include <dhudmessage>
#include <hamsandwich>
#include <engine>
#include <fun>
#include <reapi>
#include <fvault>
#include <nvault>
#include <zombie_escape_stocks>

#define ZE_VERSION "1.0"
#define AUTHORS "Zombie Escape Dev Team"


/*
*   For More Information About These Natives and Forwards, Just vist our site:
*                          Escapers-Zone.XYZ
*/

enum
{
	ZE_TEAM_ZOMBIE = 1,
	ZE_TEAM_HUMAN
}

// Returns Used in ze_select_item_pre()
#define ZE_WRONG_ITEM -1
#define ZE_ITEM_AVAILABLE 0
#define ZE_ITEM_UNAVAILABLE 1
#define ZE_ITEM_DONT_SHOW 2

forward ze_roundend(WinTeam);
forward ze_user_humanized(id);
forward ze_user_infected(iVictim, iInfector);
forward ze_zombie_appear();
forward ze_zombie_release();
forward ze_game_started();

forward ze_select_item_pre(id, itemid, ignorecost);
forward ze_select_item_post(id, itemid, ignorecost);

forward ze_fire_pre(id);

forward ze_frost_pre(id);
forward ze_frost_unfreeze(id);


native ze_is_user_zombie(id);
native ze_set_user_zombie(id);
native ze_set_user_human(id);
native ze_get_release_time();

native ze_get_escape_coins(id);
native ze_set_escape_coins(id, iAmount);

native ze_register_item(const szItemName[], iCost);
native ze_show_items_menu(id);
native ze_force_buy_item(id, itemid, ignorecost = false);
native ze_get_item_id(const szItemName[]);
native ze_get_item_cost(itemid);

native ze_zombie_in_madness(id);

native ze_set_fire_grenade(id, set);
native ze_zombie_in_fire(id);

native ze_zombie_in_forst(id);
native ze_set_frost_grenade(id, set);


// Setting API Natives
native amx_load_setting_string_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_save_setting_string_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_load_setting_int_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_save_setting_int_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_load_setting_float_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_save_setting_float_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_load_setting_string(const filename[], const section[], const key[], setting_string[], len)
native amx_save_setting_string(const filename[], const section[], const key[], const setting_string[])
native amx_load_setting_int(const filename[], const section[], const key[], &integer_value)
native amx_save_setting_int(const filename[], const section[], const key[], integer_value)
native amx_load_setting_float(const filename[], const section[], const key[], &Float:float_value)
native amx_save_setting_float(const filename[], const section[], const key[], Float:float_value)

// CS Weapon Model
native cs_set_player_view_model(id, weaponid, const view_model[])
native cs_reset_player_view_model(id, weaponid)
native cs_set_player_weap_model(id, weaponid, const weapon_model[])
native cs_reset_player_weap_model(id, weaponid)
How to update? -
  • Download the file.
  • Copy the file and replace the inc file with your current inc file in amxmodx\scripting\include .
  • Ready for compile! :)
Thanks!
zombie_escape include.zip
(1002 Bytes) Downloaded 60 times
zombie_escape include.zip
(1002 Bytes) Downloaded 60 times
Last edited by sam_bhosale4 on 05 Nov 2017, 17:44, edited 1 time in total.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1755
Joined: 2 Years Ago
Location: Egypt
Has thanked: 30 times
Been thanked: 87 times
Age: 21
Contact:

#2

Post by Raheem » 1 Year Ago

Nice Sam, The new includes files in the latest release also. You can remove #include fvault not needed. Also will be good if you put the coins temp. fix in your post.
You don't know? Learn and you will know.

User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 1 Year Ago
Location: INDIA
Has thanked: 5 times
Been thanked: 2 times
Age: 20
Contact:

#3

Post by sam_bhosale4 » 1 Year Ago

Raheem wrote:
1 Year Ago
Nice Sam, The new includes files in the latest release also. You can remove #include fvault not needed. Also will be good if you put the coins temp. fix in your post.
thanks :) done..
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
Image

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 541
Joined: 2 Years Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 44 times
Age: 19
Contact:

#4

Post by Jack GamePlay » 1 Year Ago

Raheem is just making include file's size bigger with those lines and he could replace them with only 2 lines.

Code: Select all

// Setting API Natives
native amx_load_setting_string_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_save_setting_string_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_load_setting_int_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_save_setting_int_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_load_setting_float_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_save_setting_float_arr(const filename[], const section[], const key[], Array:array_handle)
native amx_load_setting_string(const filename[], const section[], const key[], setting_string[], len)
native amx_save_setting_string(const filename[], const section[], const key[], const setting_string[])
native amx_load_setting_int(const filename[], const section[], const key[], &integer_value)
native amx_save_setting_int(const filename[], const section[], const key[], integer_value)
native amx_load_setting_float(const filename[], const section[], const key[], &Float:float_value)
native amx_save_setting_float(const filename[], const section[], const key[], Float:float_value)

// CS Weapon Model
native cs_set_player_view_model(id, weaponid, const view_model[])
native cs_reset_player_view_model(id, weaponid)
native cs_set_player_weap_model(id, weaponid, const weapon_model[])
native cs_reset_player_weap_model(id, weaponid)
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest