User
Pass
2FA
 
 

problema zm_vip

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message1679
Mihai94.

[Fondator ZP]



Status: Offline
(since 04-12-2019 07:04)
Joined: 20 Jan 2016
Posts: 1298, Topics: 159
Location: Romania

Reputation: 191.6
Votes: 88

     
Post Posted: 26-01-2018, 16:46:08 | Translate post to: ... (Click for more languages)

salut am acest plugin http://www78.zippyshare.com/v/j9QOd7WX/file.html este pt serverele de zombie plague zm_vip problema lui este ca imi da in consola cand scriu amx_plugins
Code:
zm_vip bad load
are toate sursele puse unde trebuie nu lipseste nimic de compilat se copileaza numai ca nu ruleaza pe server.




ZP.FREAKZ.RO BEST SERVER ZOMBIE

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
TwisTer

[GOOGLE SEARCHER]



Status: Offline
(since 17-05-2023 01:23)
Joined: 04 May 2007
Posts: 6962, Topics: 147
Location: Romania

Reputation: 2724.4
Votes: 231

 
Post Posted: 26-01-2018, 21:35:05 | Translate post to: ... (Click for more languages)

Trebuie sa creezi libraria zm_vip.inc in care sa adaugi nativ-urile astia :

Code:
#if MODIFICATION == NEW
#define ZP_ITEM_AVAILABLE 0
#define ZP_ITEM_NOT_AVAILABLE 1
#define ZP_ITEM_DONT_SHOW 2
#define ZP_CLASS_AVAILABLE 0
#define ZP_CLASS_NOT_AVAILABLE 1
#define ZP_CLASS_DONT_SHOW 2
native zp_core_is_zombie(id)
forward zp_fw_core_spawn_post(id)
forward zp_fw_core_infect_pre(id, attacker)
forward zp_fw_core_infect_post(id, attacker)
forward zp_fw_core_cure_post(id, attacker)
native zp_ammopacks_get(id)
native zp_ammopacks_set(id, amount)
native zp_class_human_menu_text_add(const text[])
forward zp_fw_class_human_select_pre(id, classid)
native zp_class_human_register(const name[], const description[], health, Float:speed, Float:gravity)
native zp_class_zombie_menu_text_add(const text[])
forward zp_fw_class_zombie_select_pre(id, classid)
native zp_class_zombie_register(const name[], const description[], health, Float:speed, Float:gravity)
native zp_items_register(const name[], cost)
forward zp_fw_items_select_pre(id, itemid, ignorecost)
forward zp_fw_items_select_post(id, itemid, ignorecost)
native zp_items_show_menu(id)
native zp_items_menu_text_add(const text[])
native cs_set_player_model(id, const model[])
forward zp_fw_grenade_fire_pre(id)
forward zp_fw_grenade_frost_pre(id)
#else
native zp_get_user_bombardier(id)
#define ZP_TEAM_ANY 0
native zp_get_user_zombie(id)
native zp_get_user_next_class(id)
native zp_set_user_zombie_class(id, classid)
native zp_register_zombie_class(const name[], const info[], const model[], const clawmodel[], hp, speed, Float:gravity, Float:knockback)
native zp_override_user_model(id, const newmodel[], modelindex = 0)
native zp_get_user_nemesis(id)
native zp_get_user_survivor(id)
forward zp_user_infect_attempt(id, infector, nemesis)
forward zp_user_infected_post(id, infector, nemesis)
forward zp_user_humanized_post(id, survivor)
forward zp_user_infected_pre(id, infector, nemesis)
forward zp_extra_item_selected(id, itemid)
forward zp_round_started(gamemode, id)
native zp_register_extra_item(const name[], cost, teams)
native zp_force_buy_extra_item(id, itemid, ignorecost = 0)
native zp_get_extra_item_id(const name[])
native zp_get_user_ammo_packs(id)
native zp_set_user_ammo_packs(id, amount)
#define ZP_PLUGIN_HANDLED 97
#endif



Dupa care fisierul nou creat(libraria) zm_vip.inc trebuie adaugat(a) in folderul scripting/include.


In plugin scoti toata partea de mai sus si bineinteles scoti // din fata "//#include <zm_vip>"

Practic incarci libraria din afara, ca sa iti recunoasca toate native-urile respective, de asta nu functioneaza, nu iti recunoaste functiile din librarie.

Nu am verificat daca merge sau nu, am vrut doar sa clarific cateva lucruri ca tu sa intelegi.



0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Mihai94.

[Fondator ZP]



Status: Offline
(since 04-12-2019 07:04)
Joined: 20 Jan 2016
Posts: 1298, Topics: 159
Location: Romania

Reputation: 191.6
Votes: 88

     
Post Posted: 26-01-2018, 22:11:53 | Translate post to: ... (Click for more languages)

pai are librarie zm_vip uite asta e
Spoiler:


si daca scot din fata de la include zm_vip acele bare /// o sa dea eroare de compilare asta este eroarea pe care o primesc
Code:
AMX Mod X Compiler 1.8.3-manual
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Modified for http://www.Freakz.ro / amx.freakz.ro

freakz_ro/amx/include/zm_vip.inc(154) : fatal error 111: user error: "Unknown plugin type. ZM VIP can't do anything with this plugin, or #include <zm_vip> is not at the end of other includes. Plugin should be zombie/human class or extra item"


Compilation aborted.
1 Error.
Done.
multumesc.




ZP.FREAKZ.RO BEST SERVER ZOMBIE

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
TwisTer

[GOOGLE SEARCHER]



Status: Offline
(since 17-05-2023 01:23)
Joined: 04 May 2007
Posts: 6962, Topics: 147
Location: Romania

Reputation: 2724.4
Votes: 231

 
Post Posted: 30-01-2018, 00:00:28 | Translate post to: ... (Click for more languages)

Compileaza local, e posibil ca libaria respectiva sa nu fie pe site si e normal sa iti dea eroare de compilare.
Instaleaza amxmodx si compileaza local.



0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Mihai94.

[Fondator ZP]



Status: Offline
(since 04-12-2019 07:04)
Joined: 20 Jan 2016
Posts: 1298, Topics: 159
Location: Romania

Reputation: 191.6
Votes: 88

     
Post Posted: 30-01-2018, 11:03:01 | Translate post to: ... (Click for more languages)

am compilat si local si pe site aceiasi problema, mai am un plugin facut de edutzu rang_chat_admine si ala tot bad load scrie am intrebat la host si mi sa spus ca nu ar fi compatibil scriptul cu versiunea de rehlds pe care o foloseste firma de host, cica el ar fi facut pentru HLDS si cei de la host folosesc REHLDS, acuma nush care e legatura dintre astea 2 dar practic aceste 2 pluginuri nu merge deloc pe server. multumesc.



ZP.FREAKZ.RO BEST SERVER ZOMBIE

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 24-04-2024, 08:49:03
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x