Raised This Month: $ Target: $400
 0% 

Zp class_zombie: L4d_Witch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
XyJIuraH
Junior Member
Join Date: May 2009
Old 06-03-2009 , 14:17   Zp class_zombie: L4d_Witch
Reply With Quote #1

All regard
People help to analyse with code but that I wanted to put(deliver) their own sounds for this class zombie that that I напутал there help correct error



Here is source Code
Code:
/*================================================================================
 
    -----------------------------------
    -*- [ZP] Class : L4d_Witch -*-
    -----------------------------------
 
================================================================================*/
#include <amxmodx>
#include <zombieplague>
#include <fakemeta>

new g_zclass_fozombie
new const zclass_name[] = { "L4d_Witch" }
new const zclass_info[] = { "Quick and Strong" }
new const zclass_model[] = { "l4d_witch.mdl" }
new const zclass_clawmodel[] = { "v_ubcs_l4d_witch_hands.mdl" }
const zclass_health = 3700
const zclass_speed = 350
const Float:zclass_gravity = 1.0
const Float:zclass_knockback = 1.0
new const g_sound_pain[2] = {"l4d/pain1_female.wav","l4d/pain2_female.wav" }
new const g_sound_die[2]= {"l4d/die1_female.wav","l4d/die2_female.wav" }
 

public plugin_init()
{
        register_plugin("[ZP] Class : L4d_Witch", "1.0", "XpaHuTeJIb)
}
public plugin_precache()
{
engfunc(EngFunc_PrecacheSound, sound_player_die)
engfunc(EngFunc_PrecacheSound, sound_player_pain)

 g_zclass_fozombie = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
}
public zp_user_infected_post(id, infector)
{
 if (zp_get_user_zombie_class(id) == g_zclass_fozombie)
 {
        }
}
XyJIuraH is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode