Repository navigation
A3D_IsValidRoute
imshooter edited this page Oct 23, 2026
·
1 revision
Whether a route exists.
native bool:A3D_IsValidRoute(Route:routeid);| Parameter | Description |
|---|---|
Route:routeid |
Route to check. |
A route is valid from the moment it is found until it is destroyed, or until the script that found it unloads. The id of a destroyed route may be given to the next route, so an id is only worth checking while the script still holds it.
stock bool:ShowIfValid(playerid, Route:routeid) {
if (!A3D_IsValidRoute(routeid)) {
return false;
}
return A3D_ShowRouteForPlayer(playerid, routeid);
}- A3D_FindRoute: Find the best route between two points along the paths of the game.
- A3D_DestroyRoute: Destroy a route, and hide it from the players it is shown to.
3DAndreas 0.7.1 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Physics objects
- Model settings
- World queries
- The screen
- Routes
- Navigation mesh
- Map database
- Coming from ColAndreas
- Performance
Reference
Functions