[CSO] Extra Item: Vulcanus-1
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
Wo! Wo! Wo! I meant zombie_escape.inc.
I need its content...
I need its content...
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
#include <amxmodx>
#include <cs_player_models_api>
#include <fakemeta>
#include <dhudmessage>
#include <hamsandwich>
#include <engine>
#include <fun>
#include <reapi>
#include <fvault>
#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_items_force_buy(id, itemid, ignorecost = false);
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)
#include <cs_player_models_api>
#include <fakemeta>
#include <dhudmessage>
#include <hamsandwich>
#include <engine>
#include <fun>
#include <reapi>
#include <fvault>
#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_items_force_buy(id, itemid, ignorecost = false);
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)
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
From this line from your include:
Recompile the gun & tell me the result.
Code: Select all
#include <cs_player_models_api>
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
I added this line to sma. file, compiled again and still the same
[AMXX] Plugin "ze_dvulcanus1.amxx" failed to load: Module/Library "cs_player_models_api" required for plugin. Check modules.ini.
here is my modules.ini
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;mysql
;sqlite
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
reapi
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
;cstrike
;csx
;hamsandwich
[AMXX] Plugin "ze_dvulcanus1.amxx" failed to load: Module/Library "cs_player_models_api" required for plugin. Check modules.ini.
here is my modules.ini
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;mysql
;sqlite
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
reapi
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
;cstrike
;csx
;hamsandwich
- Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
- Contact:
Just compile this plugin & add to your server.
Don't forget to activate it.
It'll be fixed.
Don't forget to activate it.
It'll be fixed.
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
I compiled other cs_models_api.sma. file from net, and see some errors
L 05/12/2017 - 19:01:37: [AMXX] Module "cstrike/addons/amxmodx/modules/cs_player_models_api_amxx_i386.so" failed to load (cstrike/addons/amxmodx/modules/cs_player_models_api_amxx_i386.so: cannot open shared object file: No such file or directory)
L 05/12/2017 - 19:01:37: Error:
L 05/12/2017 - 19:01:37: [AMXX] Module is not a valid library (file "cstrike/addons/amxmodx/modules/cs_player_models_api_amxx_i386.so")
L 05/12/2017 - 19:01:37: Binding/Hooking cvars have been disabled - check your gamedata files.
L 05/12/2017 - 19:01:37: client_disconnected and client_remove forwards have been disabled - check your gamedata files.
ReGameDLL version: 5.2.0.196-dev
L 05/12/2017 - 19:01:37: [AMXX] Module "cstrike/addons/amxmodx/modules/cs_player_models_api_amxx_i386.so" failed to load (cstrike/addons/amxmodx/modules/cs_player_models_api_amxx_i386.so: cannot open shared object file: No such file or directory)
L 05/12/2017 - 19:01:37: Error:
L 05/12/2017 - 19:01:37: [AMXX] Module is not a valid library (file "cstrike/addons/amxmodx/modules/cs_player_models_api_amxx_i386.so")
L 05/12/2017 - 19:01:37: Binding/Hooking cvars have been disabled - check your gamedata files.
L 05/12/2017 - 19:01:37: client_disconnected and client_remove forwards have been disabled - check your gamedata files.
ReGameDLL version: 5.2.0.196-dev
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
Bro Jack is saying That open cs_player_models_api.Inc file and copy all the code Written there and Paste it here
So he can check it
Understandable?
So he can check it
Understandable?
Nobody Is That Busy If They Make Time
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
johhny and Jack, the problem is gone. After downloading cs_player_models.api. sma file from net and compiling it, the plugin works. Thanks for your patience
Solved
Solved
-
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
- Contact:
Glad to hear your problem solved
Nobody Is That Busy If They Make Time
-
- Member
- Posts: 27
- Joined: 5 years ago
- Contact:
lol.... pay attention to the reload and especially the sounds at the end (also watch in HD)
https://www.youtube.com/watch?v=gSJ6ohG ... e=youtu.be
https://www.youtube.com/watch?v=gSJ6ohG ... e=youtu.be
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// ze_dvulcanus1.sma
//
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(289) : error 017: undefined symbol "is_valid_ent"
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(292) : error 017: undefined symbol "entity_get_int"
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : error 017: undefined symbol "entity_set_int"
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : warning 215: expression has no effect
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : error 001: expected token: ";", but found ")"
// C:\Users\***\*****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : error 029: invalid expression, assumed zero
// C:\Users\***\*****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 6 Errors.
// Could not locate output file C:\Users\aadit\OneDrive\Desktop\Compiler 1.9.0\scripting\compiled\ze_dvulcanus1.amx (compile failed).
//
// Compilation Time: 3.09 sec
// ----------------------------------------
Press enter to exit ...
// by the AMX Mod X Dev Team
//// ze_dvulcanus1.sma
//
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(289) : error 017: undefined symbol "is_valid_ent"
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(292) : error 017: undefined symbol "entity_get_int"
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : error 017: undefined symbol "entity_set_int"
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : warning 215: expression has no effect
// C:\Users\****\****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : error 001: expected token: ";", but found ")"
// C:\Users\***\*****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : error 029: invalid expression, assumed zero
// C:\Users\***\*****\Desktop\Compiler 1.9.0\scripting\ze_dvulcanus1.sma(296) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 6 Errors.
// Could not locate output file C:\Users\aadit\OneDrive\Desktop\Compiler 1.9.0\scripting\compiled\ze_dvulcanus1.amx (compile failed).
//
// Compilation Time: 3.09 sec
// ----------------------------------------
Press enter to exit ...
Just add
#include "engine.inc"
He who fails to plan is planning to fail
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
Sign in
Who is online
Users browsing this forum: No registered users and 2 guests