[Ajuda] NPC, Alguem?
#4

Qual cуdigo de time?

pawn Код:
public ZMOVE(npcid)
{

       
        new Float:p[3];
        foreach(Player,i)
        {
            if(Team[i] != HUMAN) continue;

            GetPlayerPos(i,p[0],p[1],p[2]);
            if(IsPlayerInRangeOfPoint(npcid,50,p[0],p[1],p[2]))
            {
               
                FCNPC_GoTo(npcid,p[0],p[1],p[2],MOVE_TYPE_RUN,10,1);
                if(IsPlayerInRangeOfPoint(npcid,1,p[0],p[1],p[2]))
                {
                   
                    FCNPC_Punch(npcid,p[0],p[1],p[2],125);
                }
            }
        }
        return 1;
}
Reply


Messages In This Thread
NPC, Alguem? - by eNtinityGaming - 19.08.2014, 01:26
Re: NPC, Alguem? - by SkullFire - 19.08.2014, 01:28
Re: NPC, Alguem? - by iAbsolut - 19.08.2014, 01:30
Respuesta: NPC, Alguem? - by Sn0wk - 19.08.2014, 01:41

Forum Jump:


Users browsing this thread: 1 Guest(s)