Hello guys, im using mercyleezzz zp 5.0 and I wanted to change the models and knife models of the zombies he had put.
so I edited every single .Sma of the zombie classes
for example this is in the classis zombie sma
Code:
#include <amxmodx>
#include <zp50_class_zombie>
// Classic Zombie Attributes
new const zombieclass1_name[] = "Classic Zombie"
new const zombieclass1_info[] = "=Balanced="
new const zombieclass1_models[][] = { "lanbg_normal_zombie" }
new const zombieclass1_clawmodels[][] = { "models/zombie_plague/v_lanbg_normal_knife.mdl" }
const zombieclass1_health = 2800
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: Classic", 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])
}
i compiled it without error, and when I put it its default zombie model and hands
in configs/zp_zombieclasses.ini it shows that the classes have the precached models but ingame its still zombie_source