Blip::color: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>
</div>
</div>
==Blip colours==
{{Blips_colours}}


==See Also==
==See Also==
{{Blip_function}}
{{Blip_function}}

Revision as of 13:43, 2 November 2017

This function is used to change the blip colour.

Syntax

blip.colour = 1;

See Blips for all the blip colours.

Example

This will change a blip to the colour red.

Server-Side
let createdBlip = mp.blips.new(140, new mp.Vector3(0, 0, 0));

createdBlip.colour = 1;

Blip colours

See Also