if you wanna strip him btw...
PHP Code:
public knifemod(id)
{
if(!get_pcvar_num(p_enable))/* p_enable is NOT positiv STOP */
return PLUGIN_HANDLED
strip_user_weapons(id) /* strip */
give_item(id, "weapon_knife") /* give */
cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM)
set_user_health(id, get_user_health(id) + get_pcvar_num(p_health))
set_user_maxspeed(id, get_user_maxspeed(id) + get_pcvar_num(p_speed))
client_print(id, print_chat, "%L", LANG_PLAYER, "KNIFE_HP", get_cvar_num("amx_knife_hp"))
return PLUGIN_CONTINUE
}
__________________