HELP: NPC follow Player using FCNPC.
#1

hello friends, I'm trying to get an npc to follow a player using FCNPC but I'm new and I do not know if I'm doing something wrong ... the npc does not follow the player, why is this happening? what is the way the NPC follow the player?

PHP код:
public OnGameModeInit()
 
bot1 FCNPC_Create("Officerino");
    
printf("Officerino: %i"bot1);
public 
Follower(playerid)
    new 
Float:xFloat:yFloat:z;
    
GetPlayerPos(playeridxyz);
    
FCNPC_GoTo(bot1xyzMOVE_TYPE_SPRINT, .UseMapAndreas true);
    
FCNPC_GoToPlayer(bot1playerid); 
Reply


Messages In This Thread
HELP: NPC follow Player using FCNPC. - by bookknp - 09.11.2018, 16:34
Re: HELP: NPC follow Player using FCNPC. - by Freaksken - 09.11.2018, 20:06
Re: HELP: NPC follow Player using FCNPC. - by bookknp - 09.11.2018, 21:02
Re: HELP: NPC follow Player using FCNPC. - by bookknp - 09.11.2018, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)