Blip::drawRange: Difference between revisions
CocaColaBear (talk | contribs) (Created page with "{{Incomplete Functions}}") |
m (Replaced HTML with template) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | This function is used to change the blip draw range. | ||
==Syntax== | |||
<pre>Number blip.drawRange</pre> | |||
==Example== | |||
This will change a blip draw range to 10 meters. | |||
{{ServersideCode| | |||
<pre> | |||
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0)); | |||
createdBlip.drawRange = 10; | |||
</pre> | |||
}} | |||
==See Also== | |||
{{Blip_functions}} | |||
Latest revision as of 12:23, 26 October 2018
This function is used to change the blip draw range.
Syntax
Number blip.drawRange
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;