AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help comflag zombie (https://forums.alliedmods.net/showthread.php?t=283110)

B7PK 05-25-2016 13:21

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_namezombieclass1_infozombieclass1_healthzombieclass1_speedzombieclass1_gravity)
    
zp_class_zombie_register_kb(g_ZombieClassIDzombieclass1_knockback)
    for (
index 0index sizeof zombieclass1_modelsindex++)
        
zp_class_zombie_register_model(g_ZombieClassIDzombieclass1_models[index])
    for (
index 0index sizeof zombieclass1_clawmodelsindex++)
        
zp_class_zombie_register_claw(g_ZombieClassIDzombieclass1_clawmodels[index])




All times are GMT -4. The time now is 18:32.

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