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

Blip::rotation

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

This function is used to change the blip rotation.

Syntax

<syntaxhighlight lang="typescript"> blip.rotation = 0; </syntaxhighlight>

Example

This will change the blip to be upside-down.

Server-Side

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

createdBlip.rotation = 180; </syntaxhighlight>

See Also