Modern and feature-rich pathfinding plugin for open.mp and SA-MP.
gps_load_nodes
to 0
in your server.cfg
or if using sampctl, add "gps_load_nodes": false
to the runtime.extra
object in your pawn.json
.std::mutex
became the "bottleneck".native GetPathNodeIndex(Path:pathid, MapNode:nodeid, &index);
GetMapNodeDistanceFromPoint
and GetClosestMapNodeToPoint
.native GetAngleBetweenMapNodes(MapNode:first, MapNode:second, &Float:angle);
native GetMapNodeAngleFromPoint(MapNode:nodeid, Float:x, Float:y, &Float:angle);
native GetMapNodeConnectionCount(MapNode:nodeid, &count);
native GetHighestMapNodeID();
native GetRandomMapNode(&MapNode:nodeid);
Initial release.