Mam problem z modelami, wszystko zrobiłem jak należało i wrzuciłem na serwer. Ale niestety nie działa.
/*================================================================================
----------------------------------
-*- [ZP] Class: Zombie: Raptor -*-
----------------------------------
This plugin is part of Zombie Plague Mod and is distributed under the
terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
================================================================================*/
#include
#include
// Raptor Zombie Attributes
new const zombieclass2_name[] = "Fast Zombie"
new const zombieclass2_info[] = "HP-- Speed++ Knockback++"
new const zombieclass2_models[][] = { "zombie_fast" }
new const zombieclass2_clawmodels[][] = { "models/zombie_plague/v_knife_fast.mdl" }
const zombieclass2_health = 2500
const Float:zombieclass2_speed = 1.2
const Float:zombieclass2_gravity = 1.0
const Float:zombieclass2_knockback = 1.5
new g_ZombieClassID
public plugin_precache()
{
register_plugin("[ZP] Class: Zombie: Raptor", ZP_VERSION_STRING, "ZP Dev Team")
new index
g_ZombieClassID = zp_class_zombie_register(zombieclass2_name, zombieclass2_info, zombieclass2_health, zombieclass2_speed, zombieclass2_gravity)
zp_class_zombie_register_kb(g_ZombieClassID, zombieclass2_knockback)
for (index = 0; index < sizeof zombieclass2_models; index++)
zp_class_zombie_register_model(g_ZombieClassID, zombieclass2_models[index])
for (index = 0; index < sizeof zombieclass2_clawmodels; index++)
zp_class_zombie_register_claw(g_ZombieClassID, zombieclass2_clawmodels[index])
}
Tak wygląda sma klasy.
Model postaci wrzuciłem: /cstrike/models/player/zombie_fast
Model noża wrzuciłem: /cstrike/models/zombie_plague
Teraz pozostaje pytanie gdzie mogłem zrobić błąd, czy w ogóle zrobiłem go.