Native referenceFiveM

ADD_PATROL_ROUTE_LINK

0x23083260DEC3A551 TASK
FUNCTION SIGNATURE
void ADD_PATROL_ROUTE_LINK(int id1, int id2);
Property Value
Native Name ADD_PATROL_ROUTE_LINK
Hash 0x23083260DEC3A551
Return Type void
Parameters id1 (int), id2 (int)

Description: connects/links 2 route nodes
image representing the cyclic example below:
image

Parameters

  • id1 (int) — the id representing the first route node
  • id2 (int) — the id representing the second route node

Examples

-- these lines connect 1,2,3,4,5,6 in a cyclic manner (1 > 2 > 3 > 4 > 5 > 6 > 1)


AddPatrolRouteLink(1,2)
AddPatrolRouteLink(2,3)
AddPatrolRouteLink(3,4)
AddPatrolRouteLink(4,5)
AddPatrolRouteLink(5,6)
AddPatrolRouteLink(6,1)
Back to TASK