09.11.2018, 21:02
Quote:
Don't use both functions at the same time.
FCNPC_GoTo: NPC goes to a point and then stops moving. FCNPC_GoToPlayer: NPC goes to a player and keeps following that player, even when that player moves, until it reaches the player and then stops moving. |
PHP код:
public Follower(playerid)
FCNPC_GoToPlayer(bot1, playerid, FCNPC_MOVE_TYPE_AUTO, FCNPC_MOVE_TYPE_AUTO, false, 0.0, true, 0.0, 1.5, 250);