Zombie XP system Nov 25, 2017 17:35:28 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 17:35:28 GMT oh...and if i have lvl 10 zombie with 350 speed ..human have only 240 speed ?And about the shop ? how can i add items
Zombie XP system Nov 25, 2017 18:06:02 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 25, 2017 18:06:02 GMT zx_register_extra_items("Tenebere Item " , 10 , ZX_TEAM_ZOMBIE) and change zp_extra_item_selected to zx_extra_item_selected
Zombie XP system Nov 25, 2017 18:13:32 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 18:13:32 GMT Oh, is like vip extra items , ok wait a second i have a problem with zombie class , ill post a screenshot XD Attachments:
Zombie XP system Nov 25, 2017 18:21:07 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 25, 2017 18:21:07 GMT show me the class code
Zombie XP system Nov 25, 2017 18:21:57 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 18:21:57 GMT Here /*================================================================================Zombie Class================================================================================*/#include <amxmodx>#include <fakemeta>#include <zombieplague>#include <zombie_xp>// Zombie Attributesnew const zclass_name[] = { "Walker" } // namenew const zclass_info[] = { "Demon" } // descriptionnew const zclass_model[] = { "zombie_source" } // modelnew const zclass_clawmodel[] = { "models/zombie_plague/v_knife_zombie.mdl" }const zclass_health = 1100 // healthconst zclass_speed = 240 // speedconst Float:zclass_gravity = 1.0 // gravityconst zclass_level = 1 // level required to usenew g_zclassidpublic plugin_init(){ }public plugin_precache(){ new registerText[32] formatex( registerText, sizeof registerText - 1, "[ZPXP] %s zombie", zclass_name) register_plugin(registerText, "1.0", "Example") // Register the new class and store ID for reference g_zclassid = zx_register_zombie_class(zclass_model , zclass_info , zclass_model ,zclass_clawmodel , zclass_health , zclass_speed , zclass_gravity , zclass_level) if(g_zclassid == -1) { server_print("[ZPXP] You have not properly setup your Zombie XP Mod."); }}// User Infected forwardpublic zp_user_infected_post(id, infector){ // Check if the infected player is using our custom zombie class if (zp_get_user_zombie_class(id) != g_zclassid) return; //client_print(id, print_chat, "[ZP] %s Zombie", zclass_name)}public zp_user_humanized_post(id){ if (zp_get_user_zombie_class(id) != g_zclassid) return; //user turned human zp_round_started_human(id);}public zp_round_started_human(id){ if (zp_get_user_zombie_class(id) != g_zclassid) return; // User turned human // Undo any additional changes we have made here }
Zombie XP system Nov 25, 2017 18:30:50 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 25, 2017 18:30:50 GMT my fault zx_register_zombie_class(zclass_name , zclass_info , zclass_model ,zclass_clawmodel , zclass_health , zclass_speed , zclass_gravity , zclass_level)
Zombie XP system Nov 25, 2017 18:33:15 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 18:33:15 GMT Yes,now is good but what about 1test(from choose class menu) and warning 213: tag mismatch( ill post all files when its done so you can upload it if you want )Attachments:
Zombie XP system Nov 25, 2017 18:36:45 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 25, 2017 18:36:45 GMT open zombie_xp.sma press ctrl + f search for that :menu_additem(menu , "test", "",0)remove it
Zombie XP system Nov 25, 2017 18:39:09 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 18:39:09 GMT Owesome ty but i can still see the default class when i turn into zombieand if i disable default class like this ;zp_zclasses40.amxxthe game won't start as zombie plague but in normal cs mode
Zombie XP system Nov 25, 2017 18:44:22 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 25, 2017 18:44:22 GMT ignore it till i find a way to fix but it doesn't make a problem you will be turned into the zombie from xp
Zombie XP system Nov 25, 2017 18:45:31 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 18:45:31 GMT Ok cool ty alot and ill cry if you dont tell me about tag mismatchand tell me if you want me to post the progress now or after you finish it
Zombie XP system Nov 25, 2017 18:53:54 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 25, 2017 18:53:54 GMT tag mis-match i don't really know why but change const zclass_health = 1100 // healthconst zclass_speed = 240 // speedto const Float:zclass_health = 1100 // healthconst Float:zclass_speed = 240 // speed
Zombie XP system Nov 25, 2017 18:56:32 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 18:56:32 GMT Now i get 3x tag mismatch xD
Zombie XP system Nov 25, 2017 18:58:54 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 25, 2017 18:58:54 GMT ok remove the Float: from every thing that have it
Zombie XP system Nov 25, 2017 19:00:39 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 25, 2017 19:00:39 GMT if i remove them ,i get the same 3x tag and like this i only get 1x tag mismatch ->new const zclass_name[] = { "Walker" } // namenew const zclass_info[] = { "Demon" } // descriptionnew const zclass_model[] = { "zombie_source" } // modelnew const zclass_clawmodel[] = { "models/zombie_plague/v_knife_zombie.mdl" }const zclass_health = 1100 // healthconst Float:zclass_speed = 240 // speedconst Float:zclass_gravity = 1.0 // gravityconst zclass_level = 1 // level required to useand if i put const Float to healt and level i get the same 3 errors or only to health or only to level if i put const Float i still get tag mismatch (