Modules/Pathfinding/isGraphLoaded

From Multi Theft Auto: Wiki
Revision as of 17:49, 3 February 2022 by Tracer (talk | contribs) (Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function checks if the graph is already loaded. ==Syntax== <syntaxhighlight lang="c++"> bool isGraphLoaded(int graphId) </syntaxhighlight> ===Required arguments=== * '''graphId:''' The id of the graph ===Returns=== Returns '''true''' if the graph is already loaded, '''false''' otherwise. ==Example== <!-- TODO: Write an example --> ==See Also== ===Fu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Package-x-generic.png This function is provided by the external module Pathfinding. You must install this module to use this function.

This function checks if the graph is already loaded.

Syntax

bool isGraphLoaded(int graphId)

Required arguments

  • graphId: The id of the graph

Returns

Returns true if the graph is already loaded, false otherwise.

Example

See Also

Functions