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

Blip::alpha

Материал из RAGE MP Wiki Archive
Версия от 13:29, 16 января 2018; imported>Toxsi (See Also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function is used to change the blip alpha.

Syntax

<syntaxhighlight lang="typescript"> blip.alpha = 255; </syntaxhighlight>

Example

This will change a blip to be transparent.

Server-Side

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

createdBlip.alpha = 0; </syntaxhighlight>

See Also