Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(dijkstra(Vc_Nodes, params[0], params[1], pNodesTestMapPath[playerid], sizeof(Vc_Nodes)))
- {
- SendClientMessage(playerid, -1, "Ruta calculada!");
- new first_node = params[0], last_node = params[1], cur_node = params[0];
- printf("first_node: %d, last_node: %d", first_node, last_node);
- while(cur_node != last_node)
- {
- cur_node = pNodesTestMapPath[playerid][cur_node];
- printf("%d", cur_node);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment