Difference between revisions of "MDE Scripting: CityGetActiveName"
From Nomad DB
Line 1: | Line 1: | ||
+ | {{Page_MDE}} | ||
{| class="wikitable" | {| class="wikitable" | ||
!Syntax | !Syntax |
Revision as of 20:28, 27 October 2020
Syntax | game.director:CityGetActiveName()
|
---|---|
Module | Director |
Library | Game |
Game | Mafia: Definitive Edition |
Description
Returns the name of the city you are. Probably used in Mafia III.
Returns
# | Type | Description |
---|---|---|
1 | string | The name of the city you are. |
Examples
local cityName = game.director:CityGetActiveName() -- cityName returns "Lost Heaven"