Blip::rotation: Difference between revisions
CocaColaBear (talk | contribs) (Created page with "{{Incomplete Functions}}") |
MrPancakers (talk | contribs) m (Using old blip template) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | 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. | |||
{{ServerSide}} | |||
<syntaxhighlight lang="javascript"> | |||
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0)); | |||
createdBlip.rotation = 180; | |||
</syntaxhighlight> | |||
==See Also== | |||
{{Blip_definition}} | |||
Latest revision as of 11:49, 10 May 2018
This function is used to change the blip rotation.
Syntax
blip.rotation = 0;
Example
This will change the blip to be upside-down.
Server-Side
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));
createdBlip.rotation = 180;
See Also
- Functions
- Properties