Ui::getCurrentAreaNameString: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

25 April 2024

  • curprev 04:3204:32, 25 April 2024Shr0x talk contribs 530 bytes +530 Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets area name based on current player position. === Return Value === *'''areaname''' {{RageType|string}} ==Syntax== <pre> mp.game.hud.getCurrentAreaNameString(); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> const areaName = mp.game.hud.getCurrentAreaNameString(); mp.console.logWarning(`Area name is: ${areaNameHash}`) </syntaxhighlight> }} }} ==See also== {{Ui_s_function_c}} [[Category:Clientside API]..."