Blip::addTextComponentSubstringName

From RAGE Multiplayer Wiki
Revision as of 16:51, 2 January 2019 by Splak (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

blip.addTextComponentSubstringName();

Returned Values

  • Undefined

Example

Only works with 'addTextComponentSubstringPlayerName'

Client-Side
let blip = mp.blips.at(0);

mp.game.ui.beginTextCommandSetBlipName("STRING");
mp.game.ui.addTextComponentSubstringPlayerName('TEST');
blip.endTextCommandSetName();

See Also