Hola galera queria saber se alguém poderia me ajudar a arrumar essa classe de zombie aqui que eu tentei editar para Zombie Plague 4.3
Código:
#include <amxmodx>
#include <zombieplague>
#include <zp50_grenade_frost>
#include <zp50_class_zombie>
new const zclass_name[] = { "Zombie Anti-frost" }
new const zclass_info[] = { "Nao Congela[]" }
new const zclass_model[] = { "zombie_plague" }
new const zclass_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass_health = 1900
const zclass_speed = 220
const Float:zclass_gravity = 0.3
const Float:zclass_knockback = 0.2
new g_zclass_frost
new index
public plugin_precache()
{
register_plugin("[ZP] Zombie Class: Anti Frost", "1.0", "Excalibur.007/DZ_MTv")
g_zclass_frost = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
zp_class_zombie_register_kb(g_zclass_frost, zclass_knockback)
for(index = 0; index < sizeof zclass_model; index++)
zp_class_zombie_register_model(g_zclass_frost, zclass_model)
for(index = 0; index < sizeof zclass_clawmodel; index++)
zp_class_zombie_register_claw(g_zclass_frost, zclass_clawmodel)
}
if (zp_get_user_zombie_class(id) == g_zclass_frost)
{
client_print(id, print_chat, "[ZP] Voce Escolher a Classe Anti-Frost")
}
public zp_fw_grenade_frost_pre(player)
{
if(is_user_alive(player) && zp_class_zombie_get_current(player) == g_zclass_frost)
return PLUGIN_HANDLED
return PLUGIN_CONTINUE
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1046{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/