Repository navigation
A3D_HideRouteForPlayer
imshooter edited this page Oct 23, 2026
·
1 revision
Hide the route shown to a player.
native bool:A3D_HideRouteForPlayer(playerid);| Parameter | Description |
|---|---|
playerid |
Player to hide it from. |
-
truewhen the route was hidden. -
falsewhen no route is shown to the player.
The route itself is kept and can be shown again. Destroying a route hides it from everyone it is shown to.
public OnPlayerCommandText(playerid, cmdtext[]) {
if (strcmp(cmdtext, "/hideroute", true) == 0) {
A3D_HideRouteForPlayer(playerid);
return 1;
}
return 0;
}- A3D_ShowRouteForPlayer: Show a route on the radar and the map of a player as a line, which moves on as they go.
- 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