I have a question what does should return to value ?
PHP Code:
return PLUGIN_CONTINUE
?
Like this :
PHP Code:
public client_PreThink(id)
{
if (!zp_get_user_zombie(id) || zp_get_user_nemesis(id))
return PLUGIN_CONTINUE
if (zp_get_user_zombie_class(id) != g_zclass_hczombie)
return PLUGIN_CONTINUE
client_cmd(id, "-duck")
set_pev(id, pev_bInDuck, 1)
}
__________________