Difference between revisions of "MDE Scripting: CityGetActiveName"
From Nomad DB
Line 26: | Line 26: | ||
!Description | !Description | ||
|- | |- | ||
− | |1 | + | | style="font-weight: bold; text-align:center;" | 1 |
|string | |string | ||
|The name of the city you are. | |The name of the city you are. |
Revision as of 20:31, 17 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"