adri1

Untitled

Jun 24th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. if(dijkstra(Vc_Nodes, params[0], params[1], pNodesTestMapPath[playerid], sizeof(Vc_Nodes)))
  2. {
  3. SendClientMessage(playerid, -1, "Ruta calculada!");
  4.  
  5. new first_node = params[0], last_node = params[1], cur_node = params[0];
  6. printf("first_node: %d, last_node: %d", first_node, last_node);
  7. while(cur_node != last_node)
  8. {
  9. cur_node = pNodesTestMapPath[playerid][cur_node];
  10. printf("%d", cur_node);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment