How to see teammate in 75% when they are invisible ?
PHP Code:
#include <amxmodx>
#include <zombieplague>
#include <fakemeta>
#include <fun>
new g_zclass_fzombie
new const zclass_name[] = { "Invisible Zombie" }
new const zclass_info[] = { "Invisible" }
new const zclass_model[] = { "zombie_source" }
new const zclass_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass_health = 1700
const zclass_speed = 350
const Float:zclass_gravity = 1.0
const Float:zclass_knockback = 1.0
public plugin_init()
{
register_plugin("[ZP] Class : Fast Zombie", "1.0", "Zombieplague")
}
public plugin_precache()
{
g_zclass_fzombie = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
}
public zp_user_infected_post(id, infector)
{
if (zp_get_user_zombie_class(id) == g_zclass_fzombie)
{
set_user_rendering( id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0 )
}
}