Zombie XP system Nov 26, 2017 15:21:16 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 26, 2017 15:21:16 GMT and about the zombie things wait till tommorow i need to do some testbut if you play alone without bots or real players something won't work
Zombie XP system Nov 26, 2017 15:22:32 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 26, 2017 15:22:32 GMT I have my server hosted on linux,but first i test with bots in my steam hlds windows server
Zombie XP system Nov 26, 2017 15:24:30 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 26, 2017 15:24:30 GMT sorry but today i have to study loli can fix small things now but something like the zombies need sometime
Zombie XP system Nov 26, 2017 15:27:48 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 26, 2017 15:27:48 GMT np xD we can test tomorrowsee ? im human but zombie,and i can t move Attachments:
Zombie XP system Nov 26, 2017 15:32:20 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 26, 2017 15:32:20 GMT soon will find a fix
Zombie XP system Nov 26, 2017 15:33:24 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 26, 2017 15:33:24 GMT i think is about cs_maxspeed_apii can't move only if i choose zombie class from xp menu,if i don;t choose from xp menu and i choose from normal zombie classes ,i can move
Zombie XP system Nov 27, 2017 0:01:39 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by newbie on Nov 27, 2017 0:01:39 GMT why me can't add this item?? help me#include <amxmodx>#include <hamsandwich>#include <cs_ham_bots_api>#include <fakemeta_util>#include <fun>#include <zombie_xp>#include <zp50_core>#include <zp50_items>#include <zp50_colorchat>new bool:Has_DamageAura[2][33]new Spr_Ring new cvars_da[2]new Item_DamageAurapublic plugin_init(){ register_plugin("[ZP] Extra: Damage Aura","1.1","catastrophe") register_cvar("ZP_DA","1",(FCVAR_SERVER|FCVAR_SPONLY)) cvars_da[0] = register_cvar("zp_da_damage_multiplier","2.0") cvars_da[1] = register_cvar("zp_da_radius","0") Item_DamageAura = zx_register_extra_item("Damage+", 20 , ZX_TEAM_HUMAN) RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage") RegisterHamBots(Ham_TakeDamage, "fw_TakeDamage")}public plugin_precache(){ Spr_Ring = precache_model("sprites/shockwave.spr")}public client_connect(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public client_disconnect(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zp_fw_core_infect_post(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zp_fw_core_spawn_post(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zp_fw_core_cure_post(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zx_fw_items_select_post(id, itemid, igc){ if( itemid == Item_DamageAura) { if( zp_core_is_zombie(id)) return ZP_ITEM_DONT_SHOW new txt[32] format(txt, charsmax(txt) - 1, "%fx", get_pcvar_float(cvars_da[0])) zp_items_menu_text_add(txt) } return ZP_ITEM_AVAILABLE }public zx_fw_items_select_post(id, item, igc){ if(item == Item_DamageAura) { if(Has_DamageAura[0][id]) { zp_colored_print(id, "^x04[ZP]^x01 You Already have Damage Aura !!!") return PLUGIN_HANDLED } else { zp_colored_print(id, "^x04[ZP]^x01 You bought Damage Aura,You & People around you will have^x03 %fx^x01 !!!", get_pcvar_float(cvars_da[0])) Has_DamageAura[0][id] = true showring(id) set_task(1.0,"checkaura",id) } } return PLUGIN_CONTINUE }public checkaura(id){ if(!Has_DamageAura[0][id] || !is_user_alive(id)) return for(new i = 1; i <= get_maxplayers(); i++) { if(is_user_alive(i) && fm_entity_range(i, id) <= get_pcvar_float(cvars_da[1]) && !zp_core_is_zombie(i)) { Has_DamageAura[1][i] = true } else { Has_DamageAura[1][i] = false } } set_task(1.0,"checkaura",id) }public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damagebits){ if(!is_user_alive(victim) || !is_user_alive(attacker)) return if(Has_DamageAura[0][attacker] || Has_DamageAura[1][attacker]) { SetHamParamFloat(4, damage*get_pcvar_float(cvars_da[0])) }}public showring(id){ if(!Has_DamageAura[0][id] || !is_user_alive(id)) return static Float:origin[3] pev(id, pev_origin, origin) ring(origin) set_task(10.0, "showring", id)}public ring(const Float:origin[3]){ engfunc(EngFunc_MessageBegin, MSG_PVS, SVC_TEMPENTITY, origin, 0) write_byte(TE_BEAMCYLINDER) // TE id engfunc(EngFunc_WriteCoord, origin[0]) // x engfunc(EngFunc_WriteCoord, origin[1]) // y engfunc(EngFunc_WriteCoord, origin[2]) // z engfunc(EngFunc_WriteCoord, origin[0]) // x axis engfunc(EngFunc_WriteCoord, origin[1]) // y axis engfunc(EngFunc_WriteCoord, origin[2]+ get_pcvar_float(cvars_da[1])) write_short(Spr_Ring) // sprite write_byte(0) // startframe write_byte(0) // framerate write_byte(4) // life write_byte(60) // width write_byte(0) // noise write_byte(200) // red write_byte(10) // green write_byte(20) // blue write_byte(150) // brightness write_byte(0) // speed message_end()}
Zombie XP system Nov 27, 2017 1:21:09 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by newbie on Nov 27, 2017 1:21:09 GMT you can add more : human win and zombie +exp , kill nemesis have more exp
Zombie XP system Nov 27, 2017 10:37:29 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 27, 2017 10:37:29 GMT [ZP] Extra: Damage Aura is for zombie plague 5.0 not for 4.3
Zombie XP system Nov 27, 2017 16:04:09 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by newbie on Nov 27, 2017 16:04:09 GMT me use zp 5.0 not 4.3
Zombie XP system Nov 27, 2017 16:16:47 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 27, 2017 16:16:47 GMT well i use 4.3 so i can't help
Zombie XP system Nov 27, 2017 19:21:24 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 27, 2017 19:21:24 GMT #include <amxmodx>#include <hamsandwich>#include <cs_ham_bots_api>#include <fakemeta_util>#include <fun>#include <zombie_xp>#include <zp50_core>#include <zp50_items>#include <zp50_colorchat>new bool:Has_DamageAura[2][33]new Spr_Ring new cvars_da[2]new Item_DamageAurapublic plugin_init(){ register_plugin("[ZP] Extra: Damage Aura","1.1","catastrophe") register_cvar("ZP_DA","1",(FCVAR_SERVER|FCVAR_SPONLY)) cvars_da[0] = register_cvar("zp_da_damage_multiplier","2.0") cvars_da[1] = register_cvar("zp_da_radius","0") Item_DamageAura = zx_register_extra_item("Damage+", 20 , ZX_TEAM_HUMAN) RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage") RegisterHamBots(Ham_TakeDamage, "fw_TakeDamage")}public plugin_precache(){ Spr_Ring = precache_model("sprites/shockwave.spr")}public client_connect(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public client_disconnect(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zp_fw_core_infect_post(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zp_fw_core_spawn_post(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zp_fw_core_cure_post(id){ Has_DamageAura[0][id] = false Has_DamageAura[1][id] = false}public zx_item_selected_post(id, itemid){ if( itemid == Item_DamageAura) { if( zp_core_is_zombie(id)) return ZP_ITEM_DONT_SHOW new txt[32] format(txt, charsmax(txt) - 1, "%fx", get_pcvar_float(cvars_da[0])) zp_items_menu_text_add(txt) } return ZP_ITEM_AVAILABLE }public zx_fw_items_select_post(id, item, igc){ if(item == Item_DamageAura) { if(Has_DamageAura[0][id]) { zp_colored_print(id, "^x04[ZP]^x01 You Already have Damage Aura !!!") return PLUGIN_HANDLED } else { zp_colored_print(id, "^x04[ZP]^x01 You bought Damage Aura,You & People around you will have^x03 %fx^x01 !!!", get_pcvar_float(cvars_da[0])) Has_DamageAura[0][id] = true showring(id) set_task(1.0,"checkaura",id) } } return PLUGIN_CONTINUE }public checkaura(id){ if(!Has_DamageAura[0][id] || !is_user_alive(id)) return for(new i = 1; i <= get_maxplayers(); i++) { if(is_user_alive(i) && fm_entity_range(i, id) <= get_pcvar_float(cvars_da[1]) && !zp_core_is_zombie(i)) { Has_DamageAura[1][i] = true } else { Has_DamageAura[1][i] = false } } set_task(1.0,"checkaura",id) }public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damagebits){ if(!is_user_alive(victim) || !is_user_alive(attacker)) return if(Has_DamageAura[0][attacker] || Has_DamageAura[1][attacker]) { SetHamParamFloat(4, damage*get_pcvar_float(cvars_da[0])) }}public showring(id){ if(!Has_DamageAura[0][id] || !is_user_alive(id)) return static Float:origin[3] pev(id, pev_origin, origin) ring(origin) set_task(10.0, "showring", id)}public ring(const Float:origin[3]){ engfunc(EngFunc_MessageBegin, MSG_PVS, SVC_TEMPENTITY, origin, 0) write_byte(TE_BEAMCYLINDER) // TE id engfunc(EngFunc_WriteCoord, origin[0]) // x engfunc(EngFunc_WriteCoord, origin[1]) // y engfunc(EngFunc_WriteCoord, origin[2]) // z engfunc(EngFunc_WriteCoord, origin[0]) // x axis engfunc(EngFunc_WriteCoord, origin[1]) // y axis engfunc(EngFunc_WriteCoord, origin[2]+ get_pcvar_float(cvars_da[1])) write_short(Spr_Ring) // sprite write_byte(0) // startframe write_byte(0) // framerate write_byte(4) // life write_byte(60) // width write_byte(0) // noise write_byte(200) // red write_byte(10) // green write_byte(20) // blue write_byte(150) // brightness write_byte(0) // speed message_end()}
Zombie XP system Nov 27, 2017 19:22:30 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Mr . K1llerZm on Nov 27, 2017 19:22:30 GMT use the code above Tenebere i tested the zombie they move in round restart they become humans
Zombie XP system Nov 27, 2017 22:39:22 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Đεмоη on Nov 27, 2017 22:39:22 GMT you edited something ? i need to download again the zombie_xp.sma ?because i can't move only if i select a class from xp menutry to compile this class and select it and tell me if you can move/*================================================================================Zombie Class================================================================================*/#include <amxmodx>#include <fakemeta>#include <zombieplague>#include <zombie_xp>// Zombie Attributesnew const zclass_name[] = { "Walker" } // namenew const zclass_info[] = { "Zombie" } // 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 // gravitynew 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") g_zclassid = zx_register_zombie_class(zclass_name , 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."); }}public zp_user_infected_post(id, infector){ 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; zp_round_started_human(id);}public zp_round_started_human(id){ if (zp_get_user_zombie_class(id) != g_zclassid) return; }
Zombie XP system Nov 28, 2017 3:20:02 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by newbie on Nov 28, 2017 3:20:02 GMT sr bro but i can't have more dame T_T