Page 1 of 1

Updated Zombie_Escape Include with nvault

Posted: 04 Nov 2017, 16:40
by sam_bhosale4
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 521 times
zombie_escape include.zip
(1002 Bytes) Downloaded 521 times

Re: Updated Zombie_Escape Include with nvault

Posted: 05 Nov 2017, 12:44
by Raheem
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.

Re: Updated Zombie_Escape Include with nvault

Posted: 05 Nov 2017, 17:45
by sam_bhosale4
Raheem wrote: 6 years 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..

Re: Updated Zombie_Escape Include with nvault

Posted: 09 Nov 2017, 18:48
by Night Fury
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)