Updated Zombie_Escape Include with nvault

Helping Topics
Post Reply
User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 7 years ago
Location: INDIA
Contact:

Updated Zombie_Escape Include with nvault

#1

Post by sam_bhosale4 » 6 years 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 511 times
zombie_escape include.zip
(1002 Bytes) Downloaded 511 times
Last edited by sam_bhosale4 6 years ago, edited 1 time in total.

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

#2

Post by Raheem » 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.
He who fails to plan is planning to fail

User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 7 years ago
Location: INDIA
Contact:

#3

Post by sam_bhosale4 » 6 years ago

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..
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
Image

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

#4

Post by Night Fury » 6 years 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)
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

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 6 guests