Difference between revisions of "MDE Scripting: CityGetActiveName"
From Nomad DB
(2 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
==Description== | ==Description== | ||
Returns the name of the city you are. | Returns the name of the city you are. | ||
− | |||
Line 26: | Line 25: | ||
!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. | ||
Line 41: | Line 40: | ||
__NOTOC__ | __NOTOC__ | ||
+ | {{Page_MDE}} | ||
[[Category:MDE]] | [[Category:MDE]] |
Latest revision as of 16:16, 6 November 2020
Syntax | game.director:CityGetActiveName()
|
---|---|
Module | Director |
Library | Game |
Game | Mafia: Definitive Edition |
Description
Returns the name of the city you are.
Returns
# | Type | Description |
---|---|---|
1 | string | The name of the city you are. |
Examples
local cityName = game.director:CityGetActiveName() -- cityName returns "Lost Heaven"