Modules/Pathfinding/isGraphLoaded: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 17:49, 3 February 2022


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