help comflag zombie
hello guys...i have a nice idea for made a new zombie class "comflage zombie"
info: have skin human
i try made this but is need to drop skin admin and give him "w" model "w_knife"
this is all im noob but i have idea help please :D
mod zp 5.0.8
full code:
PHP Code:
#include <amxmodx> #include <zp50_class_zombie>
// comflage Zombie new const zombieclass1_name[] = "comflage Zombie" new const zombieclass1_info[] = "humen skin" new const zombieclass1_models[][] = { "gign" } new const zombieclass1_clawmodels[][] = { "models/zombie_plague/v_knife_zombie.mdl" } const zombieclass1_health = 1800 const Float:zombieclass1_speed = 0.75 const Float:zombieclass1_gravity = 1.0 const Float:zombieclass1_knockback = 1.0
new g_ZombieClassID
public plugin_precache() { register_plugin("[ZP] Class: Zombie: comflage", ZP_VERSION_STRING, "ZP Dev Team") new index g_ZombieClassID = zp_class_zombie_register(zombieclass1_name, zombieclass1_info, zombieclass1_health, zombieclass1_speed, zombieclass1_gravity) zp_class_zombie_register_kb(g_ZombieClassID, zombieclass1_knockback) for (index = 0; index < sizeof zombieclass1_models; index++) zp_class_zombie_register_model(g_ZombieClassID, zombieclass1_models[index]) for (index = 0; index < sizeof zombieclass1_clawmodels; index++) zp_class_zombie_register_claw(g_ZombieClassID, zombieclass1_clawmodels[index]) }
|