AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Zp class_zombie: L4d_Witch (https://forums.alliedmods.net/showthread.php?t=93873)

XyJIuraH 06-03-2009 14:17

Zp class_zombie: L4d_Witch
 
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:oops:



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)
 {
        }
}


xPaw 06-03-2009 14:41

Re: Zp class_zombie: L4d_Witch
 
PHP Code:

public plugin_init()
{
    
register_plugin"[ZP] Class : L4d_Witch""1.0""XpaHuTeJIb" );
}

public 
plugin_precache()
{
    
engfunc(EngFunc_PrecacheSoundsound_player_die);
    
engfunc(EngFunc_PrecacheSoundsound_player_pain);
    
    
g_zclass_fozombie zp_register_zombie_class(zclass_namezclass_infozclass_modelzclass_clawmodelzclass_healthzclass_speedzclass_gravityzclass_knockback);
}

public 
zp_user_infected_post(idinfector)
{
    if (
zp_get_user_zombie_class(id) == g_zclass_fozombie)
    {
        
// your code here
    
}



XyJIuraH 06-04-2009 08:50

Re: Zp class_zombie: L4d_Witch
 
Unless in a complicated way that helps to correct me my source file or bring him(it) before wit

XyJIuraH 06-06-2009 09:23

Re: Zp class_zombie: L4d_Witch
 
Ну ё-моё чё так сложно помочь мне доделать код для этого плугина мне надо сделать для этого зомби свои звуки смерти и звуки боли

Owyn 06-06-2009 09:30

Re: Zp class_zombie: L4d_Witch
 
мальчик, тебя кто к гуглю пустил? иди в яндекс, там сайты только на русском
тебе тут никто ничего не должен, если тебе вообще ответили, тебе прыгать от радости надо, особенно что ответили на твой google translator
надеюсь понятно объяснил?

*topic problem solved

--kml-- 06-06-2009 09:37

Re: Zp class_zombie: L4d_Witch
 
why u talk in other language . i may need to understand it :D

Owyn 06-06-2009 10:00

Re: Zp class_zombie: L4d_Witch
 
you don't, he just wants som1 to write a plugin for him but posts here, plus only relying on google translator's english

XyJIuraH 06-06-2009 12:01

Re: Zp class_zombie: L4d_Witch
 
Quote:

Originally Posted by .Owyn. (Post 842992)
мальчик, тебя кто к гуглю пустил? иди в яндекс, там сайты только на русском
тебе тут никто ничего не должен, если тебе вообще ответили, тебе прыгать от радости надо, особенно что ответили на твой google translator
надеюсь понятно объяснил?

*topic problem solved




Slushiy chyo here is you climb not help me not than current dullness has written

Owyn 06-06-2009 12:09

Re: Zp class_zombie: L4d_Witch
 
Quote:

Originally Posted by XyJIuraH (Post 843079)
Slushiy chyo here is you climb not help me not than current dullness has written

your translator makes no sense, all can't even understand what is written here, so just stop

--kml-- 06-07-2009 02:16

Re: Zp class_zombie: L4d_Witch
 
lol


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

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