Blip::drawRange: Difference between revisions
CocaColaBear (talk | contribs) (Created page with "{{Incomplete Functions}}") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ | This function is used to change the blip draw range. | ||
==Syntax== | |||
<syntaxhighlight lang="typescript"> | |||
blip.drawRange = 128; | |||
</syntaxhighlight> | |||
==Example== | |||
This will change a blip draw range to 10 meters. | |||
<div class="header" style="background-color: #408DAE; color: #FFFFFF; border: 2px solid #408DAE;"> | |||
<div style="margin: 10px 10px 10px 10px;"><b>Server-Side</b></div> | |||
<syntaxhighlight lang="javascript"> | |||
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0)); | |||
createdBlip.drawRange = 10; | |||
</syntaxhighlight> | |||
</div> | |||
==See Also== | |||
{{Blip_function}} | |||
Revision as of 14:37, 8 December 2017
This function is used to change the blip draw range.
Syntax
blip.drawRange = 128;
Example
This will change a blip draw range to 10 meters.
Server-Side
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));
createdBlip.drawRange = 10;