Hi, so i found a bug where dragon,assassin,nightcralwer have the abillitys of normal zombies, like Tesla zombies shoots a electro ball and when you have applied that class as your zombie you will have this skills as nemesis,dragon,assassin,night crawler?How can i remove that.
new const ball_name[] = "dragon_ball" new const ball_model[] = "models/YouTuber/w_hiddentail_fire.mdl" new const ball_firespritemdl[] = "sprites/YouTuber/flame2-fire.spr" new const ball_spriteexplodemdl[] = "sprites/YouTuber/zerogxplode-fire.spr"
new const zclass_name[] = { "Revenant Fire" } // name new const zclass_info[] = { "\r[VIP]" } // description new const zclass_model[] = { "2016_fire_reven" } // model new const zclass_clawmodel[] = { "v_revenant_fire_youtuber.mdl" } // claw model const zclass_health = 0 // health const zclass_speed = 270 // speed const Float:zclass_gravity = 0.8 // gravity const Float:zclass_knockback = 0.10 // knockback //new const v_zombie_bomb_model[64] = "revenant"
message_begin(MSG_BROADCAST, SVC_TEMPENTITY) write_byte(TE_BEAMFOLLOW) // Temporary entity ID write_short(ball) // Entity write_short(sTrail) // Sprite index write_byte(10) // Life write_byte(3) // Line width write_byte(255) // Red write_byte(150) // Green write_byte(20) // Blue write_byte(255) // Alpha message_end()
// Stop fire if health <= min health. if( get_user_health( victim ) <= get_pcvar_num(cvar_burndmg)) { g_AlreadyBurn[ victim ] = false return }
// Repeat set_task( 0.5, "Burn", victim ) } }
public Stop( victim ) g_AlreadyBurn[ victim ] = false // Allow burn again
public zp_user_humanized_post(id) { fm_set_user_model_index(id, defaultindex)
remove_values(id) } public fw_PlayerKilled(id, attacker, shouldgib) remove_values(id) public client_connect(id) remove_values(id) public zp_round_ended() g_roundend = 1
public zp_user_infected_post(id) { //set_wpnmodel(id) if((zp_get_user_zombie_class(id) == g_zclassdragon) && (zp_get_user_zombie(id))) { fm_set_user_model_index(id, index) } Time[ id ] = 0 g_AlreadyBurn[ id ] = false remove_task(id) }
public zp_user_infected_pre(id) { if(!(get_user_flags(id) & ADMIN_LEVEL_B)) { if(zp_get_user_next_class(id) == g_zclassdragon) { zp_set_user_zombie_class(id, 0) client_print(id, print_chat, "This class is only for VIP") } } }
new const ball_name[] = "dragon_ball" new const ball_model[] = "models/YouTuber/w_hiddentail_fire.mdl" new const ball_firespritemdl[] = "sprites/YouTuber/flame2-fire.spr" new const ball_spriteexplodemdl[] = "sprites/YouTuber/zerogxplode-fire.spr"
new const zclass_name[] = { "Revenant Fire" } // name new const zclass_info[] = { "\r[VIP]" } // description new const zclass_model[] = { "2016_fire_reven" } // model new const zclass_clawmodel[] = { "v_revenant_fire_youtuber.mdl" } // claw model const zclass_health = 0 // health const zclass_speed = 270 // speed const Float:zclass_gravity = 0.8 // gravity const Float:zclass_knockback = 0.10 // knockback //new const v_zombie_bomb_model[64] = "revenant"
message_begin(MSG_BROADCAST, SVC_TEMPENTITY) write_byte(TE_BEAMFOLLOW) // Temporary entity ID write_short(ball) // Entity write_short(sTrail) // Sprite index write_byte(10) // Life write_byte(3) // Line width write_byte(255) // Red write_byte(150) // Green write_byte(20) // Blue write_byte(255) // Alpha message_end()
// Stop fire if health <= min health. if( get_user_health( victim ) <= get_pcvar_num(cvar_burndmg)) { g_AlreadyBurn[ victim ] = false return }
// Repeat set_task( 0.5, "Burn", victim ) } }
public Stop( victim ) g_AlreadyBurn[ victim ] = false // Allow burn again
public zp_user_humanized_post(id) { fm_set_user_model_index(id, defaultindex)
remove_values(id) } public fw_PlayerKilled(id, attacker, shouldgib) remove_values(id) public client_connect(id) remove_values(id) public zp_round_ended() g_roundend = 1
public zp_user_infected_post(id) { //set_wpnmodel(id) if((zp_get_user_zombie_class(id) == g_zclassdragon) && (zp_get_user_zombie(id))) { fm_set_user_model_index(id, index) } Time[ id ] = 0 g_AlreadyBurn[ id ] = false remove_task(id) }
public zp_user_infected_pre(id) { if(!(get_user_flags(id) & ADMIN_LEVEL_B)) { if(zp_get_user_next_class(id) == g_zclassdragon) { zp_set_user_zombie_class(id, 0) client_print(id, print_chat, "This class is only for VIP") } } }