PDA

View Full Version : Knife problem


Dusan01
18/01/2015, 05:33 PM
Hi guys im using FCNPC plugin for NPC and how can i make to NPC cant be knifed?

nezo2001
18/01/2015, 06:15 PM
I don't know how to work with npc well but i think
UnderOnPlayerTakeDamage

if(IsPlayerNPC && GetPlayerWeapon(issuerid) == 4)
{
return 0;
}

I think !!!