SetBlipShortRange

From RAGE Multiplayer Wiki
Revision as of 12:43, 27 November 2019 by Xabi (talk | contribs) (Xabi moved page NAPI.Blip.SetBlipShortRange to SetBlipShortRange)
(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));