• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [Help] How make the NPC move bye CMD And also can point to other near players ?
#2
FCNPC move npc functions :

PHP Code:
native FCNPC_GoTo(npcidFloat:xFloat:yFloat:ztype FCNPC_MOVE_TYPE_AUTOFloat:speed FCNPC_MOVE_SPEED_AUTOmode FCNPC_MOVE_MODE_AUTOpathfinding FCNPC_MOVE_PATHFINDING_AUTOFloat:radius 0.0bool:set_angle trueFloat:min_distance 0.0stop_delay 250);

native FCNPC_GoToPlayer(npcidplayeridtype FCNPC_MOVE_TYPE_AUTOFloat:speed FCNPC_MOVE_SPEED_AUTOmode FCNPC_MOVE_MODE_AUTOpathfinding FCNPC_MOVE_PATHFINDING_AUTOFloat:radius 0.0bool:set_angle trueFloat:min_distance 0.0Float:dist_check 1.5stop_delay 250);

native FCNPC_Stop(npcid);

native bool:FCNPC_IsMoving(npcid);

native bool:FCNPC_IsMovingAtPlayer(npcidplayerid);

native FCNPC_GetDestinationPoint(npcid, &Float:x, &Float:y, &Float:z); 



https://github.com/ziggi/FCNPC
  Reply


Messages In This Thread
RE: [Help] How make the NPC move bye CMD And also can point to other near players ? - by Radical - 2021-05-10, 11:12 AM

Forum Jump: