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

Blip::rotation

Материал из RAGE MP Wiki Archive

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