SetBlipShortRange

From RAGE Multiplayer Wiki
Revision as of 16:28, 26 November 2019 by Xabi (talk | contribs) (Created page with "Sets the range status of a blip. ==Syntax== <pre>void NAPI.Blip.SetBlipShortRange(Blip blip, bool range);</pre> === Required Arguments === *'''blip:''' The blip to get the n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sets the range status of a blip.

Syntax

void NAPI.Blip.SetBlipShortRange(Blip blip, bool range);

Required Arguments

  • blip: The blip to get the name from. Parameter input should be in Blip type
  • range: The range status to set. This parameter input should be in bool type. If this parameter is set to false, the blip can be seen from anywhere on the mini-map (displayed globally). If it's set to true, the blip can only be seen by players close to it

Example

C# Syntax

Example

NAPI.Blip.SetBlipShortRange(myBlip, !NAPI.Blip.GetBlipShortRange(myBlip));