Npc Function
#1

Hello Dear Helpers i want to know something about a include that i have added it

i want to controll the npc of damage i have removed from my GM this Function

public FCNPC_OnTakeDamage(npcid, damagerid, weaponid, bodypart, Float:health_loss)
{

return 1;
}

but the npc still getting dmgs when i hit him what i want to say is if possible to edit when i hit him he taking no dmg


and tell me whats wrong here & TY

Код:
if(strcmp(cmdtext,"/la",true) == 0)
	{
	    FCNPC_GoTo(Cholo, 145.1412,-67.6555,1.4297, MOVE_TYPE_WALK, 1, 0);
	    return 1;
 	}
	else if(FCNPC_GetPosition(Cholo, 145.1412,-67.6555,1.4297) == 1)
	{
	    SetPVarInt(Cholo,"TimerFilm",SetTimerEx("FCNPC_OnRespawn",100,0,"d",Cholo)+1);
	    return 1;

	}
Reply
#2

Up ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)