Ui::getCurrentAreaNameLabel
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.
JavaScript
Gets area name label based on current player position.
Return Value
- label string
Syntax
mp.game.hud.getCurrentAreaNameLabel();
Example
Client-Side
const areaNameLabel = mp.game.hud.getCurrentAreaNameLabel(); //eg output: 'WVINE'
mp.console.logWarning(`Area name label is: ${areaNameLabel}`);