• 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 ?
#3
(2021-05-10, 11:12 AM)Radical Wrote: FCNPC move npc functions :

PHP Code:
native FCNPC_GoTo(npcid, Float:x, Float:y, Float:z, type = FCNPC_MOVE_TYPE_AUTO, Float:speed = FCNPC_MOVE_SPEED_AUTO, mode = FCNPC_MOVE_MODE_AUTO, pathfinding = FCNPC_MOVE_PATHFINDING_AUTO, Float:radius = 0.0, bool:set_angle = true, Float:min_distance = 0.0, stop_delay = 250); native FCNPC_GoToPlayer(npcid, playerid, type = FCNPC_MOVE_TYPE_AUTO, Float:speed = FCNPC_MOVE_SPEED_AUTO, mode = FCNPC_MOVE_MODE_AUTO, pathfinding = FCNPC_MOVE_PATHFINDING_AUTO, Float:radius = 0.0, bool:set_angle = true, Float:min_distance = 0.0, Float:dist_check = 1.5, stop_delay = 250); native FCNPC_Stop(npcid); native bool:FCNPC_IsMoving(npcid); native bool:FCNPC_IsMovingAtPlayer(npcid, playerid); native FCNPC_GetDestinationPoint(npcid, &Float:x, &Float:y, &Float:z);



https://github.com/ziggi/FCNPC



Wow, this plugin is amazing, thank you very much.
  Reply


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