SetBlipShortRange: Difference between revisions

From RAGE Multiplayer Wiki
(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...")
 
 

Latest revision as of 12:43, 27 November 2019

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));