NPC help! !! REP+++
#1

Hello i using FCNPC plugin i have this problem
NPCs is floating to players how i can fix it?



My code
pawn Код:
new Float:p[3];
    foreach(Player,i)
    {
        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_SPRINT, 10, 1);
            if(IsPlayerInRangeOfPoint(npcid,1, p[0], p[1], p[2]))
            {
                FCNPC_Punch(npcid, p[0], p[1], p[2], 125);
            }
        }
    }
Reply


Messages In This Thread
NPC help! !! REP+++ - by MasonSFW - 04.10.2014, 12:08
Re: NPC help! !! REP+++ - by MasonSFW - 04.10.2014, 12:31
Re: NPC help! !! REP+++ - by Dangjai - 04.10.2014, 13:25
Re: NPC help! !! REP+++ - by MasonSFW - 04.10.2014, 13:50
Re: NPC help! !! REP+++ - by ThunderX - 04.10.2014, 16:13
Re: NPC help! !! REP+++ - by MasonSFW - 05.10.2014, 01:43
Re: NPC help! !! REP+++ - by ThunderX - 05.10.2014, 05:31
Re: NPC help! !! REP+++ - by MasonSFW - 05.10.2014, 05:39

Forum Jump:


Users browsing this thread: 1 Guest(s)