Перейти к содержанию

Blip::name

Материал из RAGE MP Wiki Archive
Версия от 11:47, 10 мая 2018; imported>MrPancakers (Using old blip template)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function is used to change the name of the blip shown on the map. When you press Esc and hover over the blip, it will have this name.

Syntax

<syntaxhighlight lang="typescript"> blip.name = 'String'; </syntaxhighlight>

Example

This will change a blip's name to 24/7 Shop.

Server-Side

<syntaxhighlight lang="javascript"> let createdBlip = mp.blips.new(140, new mp.Vector3(0, 0, 0));

createdBlip.name = '24/7 Shop'; </syntaxhighlight>

See Also