Approved [CSO] Extra Item: Vulcanus-1

Zombies/Humans Extra-Items
User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#11

Post by Night Fury » 6 years ago

Wo! Wo! Wo! I meant zombie_escape.inc.
I need its content...
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#12

Post by czirimbolo » 6 years ago

#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)
Image

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

#13

Post by Night Fury » 6 years ago

From this line from your include:

Code: Select all

#include <cs_player_models_api>
Recompile the gun & tell me the result.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#14

Post by czirimbolo » 6 years ago

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
Image

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

#15

Post by Night Fury » 6 years ago

Just compile this plugin & add to your server.
Don't forget to activate it.
It'll be fixed.
cs_player_models_api.rar
(2.79 KiB) Downloaded 407 times
cs_player_models_api.rar
(2.79 KiB) Downloaded 407 times
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#16

Post by czirimbolo » 6 years ago

Image
Image

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#17

Post by czirimbolo » 6 years ago

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
Image

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#18

Post by johnnysins2000 » 6 years ago

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?
Nobody Is That Busy If They Make Time :roll:

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#19

Post by czirimbolo » 6 years ago

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
Image

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#20

Post by johnnysins2000 » 6 years ago

Glad to hear your problem solved :)
Nobody Is That Busy If They Make Time :roll:

shady101852
Member
Member
United States of America
Posts: 27
Joined: 5 years ago
Contact:

#21

Post by shady101852 » 5 years ago

lol.... pay attention to the reload and especially the sounds at the end (also watch in HD) :joy:

https://www.youtube.com/watch?v=gSJ6ohG ... e=youtu.be

pirate228
Member
Member
India
Posts: 18
Joined: 5 years ago
Contact:

#22

Post by pirate228 » 5 years ago

//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 ...

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

#23

Post by Raheem » 5 years ago

Just add #include "engine.inc"
He who fails to plan is planning to fail

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