Code:
class 1 citizen : default_npc {
parameter:
int iSkill = 1663745;
handler:
EventHandler ATTACKED(attacker) {
myself->AddUseSkillDesire(attacker, iSkill, 0, 1, 1000000);
}
}
Where iSkill is skill_pch number of the skill you want to use, for example, some type of paralyze... or you can use AddAttackDesire if you want... but that will finish killing the player.